diff options
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index af023b0db6b..24f75d3a245 100644 --- a/config/application.rb +++ b/config/application.rb @@ -69,12 +69,14 @@ module Mastodon :pl, :pt, :'pt-BR', + :ro, :ru, :sk, :sl, :sr, :'sr-Latn', :sv, + :ta, :te, :th, :tr, @@ -85,6 +87,7 @@ module Mastodon ] config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym + unless config.i18n.available_locales.include?(config.i18n.default_locale) config.i18n.default_locale = :en end |