about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-21 00:36:20 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-20 16:36:20 +0100
commit61dcb686a8f0a3272e2948c9a072aa58593a7409 (patch)
tree8505c48d35d3094068a14ef4776589625b358c5b /config/environments
parent9381a7d9d55ea734d6c498a82d17d73fd02fbe87 (diff)
Fix i18n fallback configuration conflicts with environment configurations (#6843)
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 3136a40fc..f372cd363 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -55,8 +55,8 @@ Rails.application.configure do
   # config.action_mailer.raise_delivery_errors = false
 
   # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
-  # the I18n.default_locale when a translation cannot be found).
-  config.i18n.fallbacks = true
+  # English when a translation cannot be found).
+  config.i18n.fallbacks = [:en]
 
   # Send deprecation notices to registered listeners.
   config.active_support.deprecation = :notify