Skip to content
Snippets Groups Projects
Unverified Commit 14a300b4 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Enable ro and ta locales in Rails (#8583)

* Enable ro and ta locales in Rails

* Add Tamil and Romanian to language dropdown
parent 78b89e7a
No related branches found
No related tags found
No related merge requests found
......@@ -35,12 +35,14 @@ module SettingsHelper
pl: 'Polszczyzna',
pt: 'Português',
'pt-BR': 'Português do Brasil',
ro: 'Limba română',
ru: 'Русский',
sk: 'Slovenčina',
sl: 'Slovenščina',
sr: 'Српски',
'sr-Latn': 'Srpski (latinica)',
sv: 'Svenska',
ta: 'தமிழ்',
te: 'తెలుగు',
th: 'ภาษาไทย',
tr: 'Türkçe',
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment