diff --git a/config/environments/preproduction.rb b/config/environments/preproduction.rb index 39c060f13..17103a67c 100644 --- a/config/environments/preproduction.rb +++ b/config/environments/preproduction.rb @@ -78,9 +78,9 @@ Rails.application.configure do config.action_mailer.smtp_settings = Rails.application.secrets.smtp_settings end - # 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 + # Disable locale fallbacks for I18n + # (prevents using fallback locales set in application.rb). + # config.i18n.fallbacks = false # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify diff --git a/config/environments/production.rb b/config/environments/production.rb index 707331124..e0c2d5a75 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -79,9 +79,9 @@ Rails.application.configure do config.action_mailer.smtp_settings = Rails.application.secrets.smtp_settings end - # 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 + # Disable locale fallbacks for I18n + # (prevents using fallback locales set in application.rb). + # config.i18n.fallbacks = false # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify diff --git a/config/environments/staging.rb b/config/environments/staging.rb index f47529f64..ec77bac43 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -78,9 +78,9 @@ Rails.application.configure do config.action_mailer.smtp_settings = Rails.application.secrets.smtp_settings end - # 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 + # Disable locale fallbacks for I18n + # (prevents using fallback locales set in application.rb). + # config.i18n.fallbacks = false # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify