|
|
@ -5,40 +5,40 @@
|
|
|
|
# "sr" => load_locale("sr"), # Serbian [Incomplete]
|
|
|
|
# "sr" => load_locale("sr"), # Serbian [Incomplete]
|
|
|
|
# "sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic) [Incomplete]
|
|
|
|
# "sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic) [Incomplete]
|
|
|
|
LOCALES = {
|
|
|
|
LOCALES = {
|
|
|
|
"ar" => load_locale("ar"), # Arabic
|
|
|
|
"ar" => load_locale("ar"), # Arabic
|
|
|
|
"cs" => load_locale("cs"), # Czech
|
|
|
|
"cs" => load_locale("cs"), # Czech
|
|
|
|
"da" => load_locale("da"), # Danish
|
|
|
|
"da" => load_locale("da"), # Danish
|
|
|
|
"de" => load_locale("de"), # German
|
|
|
|
"de" => load_locale("de"), # German
|
|
|
|
"el" => load_locale("el"), # Greek
|
|
|
|
"el" => load_locale("el"), # Greek
|
|
|
|
"en-US" => load_locale("en-US"), # English (US)
|
|
|
|
"en-US" => load_locale("en-US"), # English (US)
|
|
|
|
"eo" => load_locale("eo"), # Esperanto
|
|
|
|
"eo" => load_locale("eo"), # Esperanto
|
|
|
|
"es" => load_locale("es"), # Spanish
|
|
|
|
"es" => load_locale("es"), # Spanish
|
|
|
|
"fa" => load_locale("fa"), # Persian
|
|
|
|
"fa" => load_locale("fa"), # Persian
|
|
|
|
"fi" => load_locale("fi"), # Finnish
|
|
|
|
"fi" => load_locale("fi"), # Finnish
|
|
|
|
"fr" => load_locale("fr"), # French
|
|
|
|
"fr" => load_locale("fr"), # French
|
|
|
|
"he" => load_locale("he"), # Hebrew
|
|
|
|
"he" => load_locale("he"), # Hebrew
|
|
|
|
"hr" => load_locale("hr"), # Croatian
|
|
|
|
"hr" => load_locale("hr"), # Croatian
|
|
|
|
"hu-HU" => load_locale("hu-HU"), # Hungarian
|
|
|
|
"hu-HU" => load_locale("hu-HU"), # Hungarian
|
|
|
|
"id" => load_locale("id"), # Indonesian
|
|
|
|
"id" => load_locale("id"), # Indonesian
|
|
|
|
"is" => load_locale("is"), # Icelandic
|
|
|
|
"is" => load_locale("is"), # Icelandic
|
|
|
|
"it" => load_locale("it"), # Italian
|
|
|
|
"it" => load_locale("it"), # Italian
|
|
|
|
"ja" => load_locale("ja"), # Japanese
|
|
|
|
"ja" => load_locale("ja"), # Japanese
|
|
|
|
"ko" => load_locale("ko"), # Korean
|
|
|
|
"ko" => load_locale("ko"), # Korean
|
|
|
|
"lt" => load_locale("lt"), # Lithuanian
|
|
|
|
"lt" => load_locale("lt"), # Lithuanian
|
|
|
|
"nb-NO" => load_locale("nb-NO"), # Norwegian Bokmål
|
|
|
|
"nb-NO" => load_locale("nb-NO"), # Norwegian Bokmål
|
|
|
|
"nl" => load_locale("nl"), # Dutch
|
|
|
|
"nl" => load_locale("nl"), # Dutch
|
|
|
|
"pl" => load_locale("pl"), # Polish
|
|
|
|
"pl" => load_locale("pl"), # Polish
|
|
|
|
"pt" => load_locale("pt"), # Portuguese
|
|
|
|
"pt" => load_locale("pt"), # Portuguese
|
|
|
|
"pt-BR" => load_locale("pt-BR"), # Portuguese (Brazil)
|
|
|
|
"pt-BR" => load_locale("pt-BR"), # Portuguese (Brazil)
|
|
|
|
"pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal)
|
|
|
|
"pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal)
|
|
|
|
"ro" => load_locale("ro"), # Romanian
|
|
|
|
"ro" => load_locale("ro"), # Romanian
|
|
|
|
"ru" => load_locale("ru"), # Russian
|
|
|
|
"ru" => load_locale("ru"), # Russian
|
|
|
|
"sv-SE" => load_locale("sv-SE"), # Swedish
|
|
|
|
"sv-SE" => load_locale("sv-SE"), # Swedish
|
|
|
|
"tr" => load_locale("tr"), # Turkish
|
|
|
|
"tr" => load_locale("tr"), # Turkish
|
|
|
|
"uk" => load_locale("uk"), # Ukrainian
|
|
|
|
"uk" => load_locale("uk"), # Ukrainian
|
|
|
|
"vi" => load_locale("vi"), # Vietnamese
|
|
|
|
"vi" => load_locale("vi"), # Vietnamese
|
|
|
|
"zh-CN" => load_locale("zh-CN"), # Chinese (Simplified)
|
|
|
|
"zh-CN" => load_locale("zh-CN"), # Chinese (Simplified)
|
|
|
|
"zh-TW" => load_locale("zh-TW"), # Chinese (Traditional)
|
|
|
|
"zh-TW" => load_locale("zh-TW"), # Chinese (Traditional)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
def load_locale(name)
|
|
|
|
def load_locale(name)
|
|
|
|