diff options
-rw-r--r-- | config/application.rb | 3 | ||||
-rw-r--r-- | config/environments/production.rb | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/config/application.rb b/config/application.rb index ad6cf82d7..9c632fefc 100644 --- a/config/application.rb +++ b/config/application.rb @@ -122,6 +122,9 @@ module Mastodon config.i18n.default_locale = :en end + # fall back to English when a translation cannot be found + config.i18n.fallbacks = [:en] + # config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb') # config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')] diff --git a/config/environments/production.rb b/config/environments/production.rb index 60219dae1..bdda469ba 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -58,10 +58,6 @@ Rails.application.configure do # Set this to true and configure the email server for immediate delivery to raise delivery errors. # config.action_mailer.raise_delivery_errors = false - # Enable locale fallbacks for I18n (makes lookups for any locale fall back to - # English when a translation cannot be found). - config.i18n.fallbacks = [:en] - # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify |