Skip to content

Commit 7a45488

Browse files
authored
AP388-2: add locale file paths (#65)
1 parent 7d59462 commit 7a45488

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config/application.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ class Application < Rails::Application
2626
# @see https://ucblib.atlassian.net/browse/DEV-517
2727
Deprecation.default_deprecation_behavior = ENV.fetch('LIT_DEPRECATION_BEHAVIOR', 'silence').to_sym
2828

29+
config.i18n.load_path += Rails.root.glob('config/locales/**/*.{rb,yml}')
30+
config.i18n.default_locale = :en
31+
2932
# Configuration for the application, engines, and railties goes here.
3033
#
3134
# These settings can be overridden in specific environments using the files

0 commit comments

Comments
 (0)