Add new and missing locales to i18n.cr
New locales: lt, vi Missing: bn_BD, cs, da, eu, hu-HU, si, sk, sr, sr_Cyrl
This commit is contained in:
parent
0dd710c195
commit
c0e8feb66e
|
@ -1,31 +1,42 @@
|
|||
LOCALES = {
|
||||
"ar" => load_locale("ar"),
|
||||
"de" => load_locale("de"),
|
||||
"el" => load_locale("el"),
|
||||
"en-US" => load_locale("en-US"),
|
||||
"eo" => load_locale("eo"),
|
||||
"es" => load_locale("es"),
|
||||
"fa" => load_locale("fa"),
|
||||
"fi" => load_locale("fi"),
|
||||
"fr" => load_locale("fr"),
|
||||
"he" => load_locale("he"),
|
||||
"hr" => load_locale("hr"),
|
||||
"id" => load_locale("id"),
|
||||
"is" => load_locale("is"),
|
||||
"it" => load_locale("it"),
|
||||
"ja" => load_locale("ja"),
|
||||
"nb-NO" => load_locale("nb-NO"),
|
||||
"nl" => load_locale("nl"),
|
||||
"pl" => load_locale("pl"),
|
||||
"pt-BR" => load_locale("pt-BR"),
|
||||
"pt-PT" => load_locale("pt-PT"),
|
||||
"ro" => load_locale("ro"),
|
||||
"ru" => load_locale("ru"),
|
||||
"sv-SE" => load_locale("sv-SE"),
|
||||
"tr" => load_locale("tr"),
|
||||
"uk" => load_locale("uk"),
|
||||
"zh-CN" => load_locale("zh-CN"),
|
||||
"zh-TW" => load_locale("zh-TW"),
|
||||
"ar" => load_locale("ar"), # Arabic
|
||||
"bn_BD" => load_locale("bn_BD"), # Bengali (Bangladesh)
|
||||
"cs" => load_locale("cs"), # Czech
|
||||
"da" => load_locale("da"), # Danish
|
||||
"de" => load_locale("de"), # German
|
||||
"el" => load_locale("el"), # Greek
|
||||
"en-US" => load_locale("en-US"), # English (US)
|
||||
"eo" => load_locale("eo"), # Esperanto
|
||||
"es" => load_locale("es"), # Spanish
|
||||
"eu" => load_locale("eu"), # Basque
|
||||
"fa" => load_locale("fa"), # Persian
|
||||
"fi" => load_locale("fi"), # Finnish
|
||||
"fr" => load_locale("fr"), # French
|
||||
"he" => load_locale("he"), # Hebrew
|
||||
"hr" => load_locale("hr"), # Croatian
|
||||
"hu-HU" => load_locale("hu-HU"), # Hungarian
|
||||
"id" => load_locale("id"), # Indonesian
|
||||
"is" => load_locale("is"), # Icelandic
|
||||
"it" => load_locale("it"), # Italian
|
||||
"ja" => load_locale("ja"), # Japanese
|
||||
"lt" => load_locale("lt"), # Lithuanian
|
||||
"nb-NO" => load_locale("nb-NO"), # Norwegian Bokmål
|
||||
"nl" => load_locale("nl"), # Dutch
|
||||
"pl" => load_locale("pl"), # Polish
|
||||
"pt-BR" => load_locale("pt-BR"), # Portuguese (Brazil)
|
||||
"pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal)
|
||||
"ro" => load_locale("ro"), # Romanian
|
||||
"ru" => load_locale("ru"), # Russian
|
||||
"si" => load_locale("si"), # Sinhala
|
||||
"sk" => load_locale("sk"), # Slovak
|
||||
"sr" => load_locale("sr"), # Serbian
|
||||
"sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic)
|
||||
"sv-SE" => load_locale("sv-SE"), # Swedish
|
||||
"tr" => load_locale("tr"), # Turkish
|
||||
"uk" => load_locale("uk"), # Ukrainian
|
||||
"vi" => load_locale("vi"), # Vietnamese
|
||||
"zh-CN" => load_locale("zh-CN"), # Chinese (Simplified)
|
||||
"zh-TW" => load_locale("zh-TW"), # Chinese (Traditional)
|
||||
}
|
||||
|
||||
def load_locale(name)
|
||||
|
|
Loading…
Reference in a new issue