about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-09-02 22:31:53 +0200
committerGitHub <noreply@github.com>2018-09-02 22:31:53 +0200
commit14a300b4282356100d4ca2c0858ed49e5ee76932 (patch)
tree04d8edfa19b0da6326bd91f43cd55d9273bec7de /config
parent78b89e7a5d82f1cf038f96fcccc04ff70229ca39 (diff)
Enable ro and ta locales in Rails (#8583)
* Enable ro and ta locales in Rails

* Add Tamil and Romanian to language dropdown
Diffstat (limited to 'config')
-rw-r--r--config/application.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index af023b0db..24f75d3a2 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