diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index a3f4a855c..6b679f5be 100644 --- a/config/application.rb +++ b/config/application.rb @@ -117,7 +117,7 @@ module Mastodon :'zh-TW', ] - config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym + config.i18n.default_locale = ENV.fetch('DEFAULT_LOCALE', 'en-MP')&.to_sym config.i18n.fallbacks = [:en] unless config.i18n.available_locales.include?(config.i18n.default_locale) |