The value of microedition.locale
system property returns
the value based on the user interface language. The returned value
contains always the language part and might contain also the country
(or area). Locale mappings for Series 40 and Symbian devices are presented
in the following tables.
Language selection in the MIDlet and MIDlet name localization is recommended to be done based on the two first characters (the language part) in case there is no country specific localization.
Language |
Locale |
---|---|
Arabic |
ar |
Basque |
eu |
Bulgarian |
bg-BG |
Catalan |
ca |
China |
zh-CN |
Croatian |
hr-HR |
Czech |
cs-CZ |
Danish |
da-DK |
Dutch |
nl-NL |
English |
en |
English (Taiwan) |
en |
English (Japan) |
en |
English (Hong Kong) |
en |
English (PRC China) |
en |
English (Thailand) |
en |
English (US) |
en-US |
Estonian |
et-EE |
Farsi |
fa |
Finnish |
fi-FI |
French |
fr |
French (Canadian) |
fr-CA |
Galician |
gl |
German |
de |
Greek |
el-GR |
Hebrew |
he-IL |
Hindi |
hi-IN |
Hongkong |
zh-HK |
Hungarian |
hu-HU |
Icelandic |
is-IS |
Indonesian |
id-ID |
Italian |
it |
Japanese |
ja-JP |
Latvian |
lv-LV |
Lithuanian |
lt-LT |
Malay |
ms-MY |
Norwegian |
no-NO |
Polish |
pl-PL |
Portuguese |
pt-PT |
Portuguese (Brazilian) |
pt-BR |
Romanian |
ro-RO |
Russian |
ru-RU |
Serbian |
sr-YU |
Slovak |
sk-SK |
Slovenian |
sl-SI |
Spanish |
es-ES |
Spanish (Latin America) |
es-US |
Swedish |
sv |
Tagalog |
tl-PH |
Taiwan |
zh-TW |
Thai |
th-TH |
Turkish |
tr-TR |
Ukrainian |
uk-UA |
Urdu |
ur |
Vietnamese |
vi-VN |
Language |
Locale |
---|---|
Afrikaans |
af-ZA |
Albanian |
sq |
Amharic |
am-ET |
Armenian |
hy |
Assamese |
as-IN |
Azeri |
az-AZ |
Belarusian |
be |
Bengali |
bn |
Bengali_BD |
bn-BD |
Bosnian |
bs-BA |
Chinese (Traditional) |
zh-TW |
Euskara |
eu |
Georgian |
ka-GE |
Gujarati |
gu-IN |
Hausa |
ha |
Igbo |
ig-NG |
Kannada |
kn-IN |
Kashmiri |
ks-IN |
Kazak |
kk-KZ |
Khmer |
km-KH |
Kirghiz |
ky-KG |
Lao |
lo-LA |
Lingala |
ln |
Macedonian |
mk-MK |
Malayalam |
ml-IN |
Marathi |
mr-IN |
Mongolian |
mn-MN |
Oriya |
or-IN |
Persian |
fa-AF |
Punjabi |
pa |
Pushto |
ps |
Sesotho |
st |
Sinhala |
si-LK |
Swahili |
sw |
Tamil |
ta |
Tajik |
tg-TJ |
Telugu |
te-IN |
Turkmen |
tk |
Uzbek |
uz-UZ |
Xhosa |
xh |
Yoruba |
yo |
Zulu |
zu |