diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb index 43b729957..616d519bf 100644 --- a/config/initializers/i18n.rb +++ b/config/initializers/i18n.rb @@ -22,16 +22,5 @@ class FallbackLocaleList < Hash end end -class NoFallbackLocaleList < FallbackLocaleList - def [](locale) - [locale] - end -end - - -if Rails.env.development? - I18n.fallbacks = NoFallbackLocaleList.new -else - I18n.fallbacks = FallbackLocaleList.new - I18n.config.missing_interpolation_argument_handler = proc { throw(:exception) } -end +I18n.fallbacks = FallbackLocaleList.new +I18n.config.missing_interpolation_argument_handler = proc { throw(:exception) }