summaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-02-19 10:29:20 +0000
committerGo MAEDA <maeda@farend.jp>2019-02-19 10:29:20 +0000
commit7d03c9c6ed83d87e81da6d4a92d603261b7e78e5 (patch)
treea1c0f05b711e2634fbdc24ce8149e7fe8a618721 /config/application.rb
parent158392ae930b04d3642f224da3c33cb5f2801435 (diff)
downloadredmine-7d03c9c6ed83d87e81da6d4a92d603261b7e78e5.tar.gz
redmine-7d03c9c6ed83d87e81da6d4a92d603261b7e78e5.zip
Update i18n gem to 1.5.3 (#29946).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17888 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb
index d77d37e70..e182fc2b9 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -28,7 +28,9 @@ module RedmineApp
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
- I18n.enforce_available_locales = true
+ config.i18n.enforce_available_locales = true
+ config.i18n.fallbacks = true
+ config.i18n.default_locale = 'en'
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"