Supported locales

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 Nokia Asha and Series 40 software platform devices are presented in the following tables.

Language selection in the MIDlet and MIDlet name localisation is recommended to be done based on the two first characters (the language part) in case there is no country specific localisation.

Table: Formatter class supported locales in Nokia Asha software platform 1.1

Language

Locale

Afrikaans

af

Afrikaans (South Africa)

af-ZA

Amharic

am

Amharic (Ethiopia)

am-ET

Arabic

ar

Arabic (Saudi Arabia)

ar-SA

Assamese

as

Assamese (India)

as-IN

Azerbaijani

az

Belarusian

be

Belarusian (Belarus)

be-BY

Bulgarian

bg

Bulgarian (Bulgaria)

bg-BG

Bengali

bn

Bengali (Bangladesh)

bn-BD

Bengali (India)

bn-IN

Catalan

ca

Catalan (Spain)

ca-ES

Checo

cs

Checo (Czech Republic)

cs-CZ

German

de

German (Germany)

de-DE

Greek

el

Greek (Greece)

el-GR

English

en

English (United Kingdom)

en-GB

English (United States)

en-US

Spanish

es

Spanish (United States)

es-US

Estonian

et

Estonian (Estonia)

et-EE

Basque

eu

Basque (Spain)

eu-ES

Farsi

fa

Farsi (Iran)

fa-IR

Finnish

fi

Finnish (Finland)

fi-FI

French

fr

French (France)

fr-FR

Galician

gl

Galician (Spain)

gl-ES

Hausa

ha

Hausa (Nigeria)

ha-NG

Hebrew

he

Hebrew (Israel)

he-IL

Croatian

hr

Croatian (Croatia)

hr-HR

Hungarian

hu

Hungarian (Hungary)

hu-HU

Armenian

hy

Armenian (Armenia)

hy-AM

Indonesian

id

Indonesian (Indonesia)

id-ID

Igbo

ig

Igbo (Nigeria)

ig-NG

Italian

it

Italian (Italy)

it-IT

Japanese

ja

Japanese (Japan)

ja-JP

Georgian

ka

Georgian (Georgia)

ka-GE

Kazakh

kk

Kazakh (Kazakhstan)

kk-KZ

Khmer

km

Khmer (Cambodia)

km-KH

Kannada

kn

Kannada (India)

kn-IN

Kyrgyz

ky

Kyrgyz (Kyrgyzstan)

ky-KG

Lingala

ln

Lingala (Congo)

ln-CG

Lithuanian

lt

Lithuanian (Lithuania)

lt-LT

Latvian

lv

Latvian (Latvia)

lv-LV

Macedonian

mk

Macedonian (Macedonia)

mk-MK

Marathi

mr

Marathi (India)

mr-IN

Malay

ms

Malay (Malaysia)

ms-MY

Burmese

my

Burmese (Myanmar)

my-MM

Dutch

nl

Dutch (Netherlands)

nl-NL

Oriya

or

Oriya (India)

or-IN

Punjabi

pa

Polish

pl

Polish (Poland)

pl-PL

Pushto

ps

Pushto (Afghanistan)

ps-AF

Portuguese

pt

Portuguese (Brazil)

pt-BR

Portuguese (Portugal)

pt-PT

Romanian

ro

Romanian (Romania)

ro-RO

Russian

ru

Russian (Russia)

ru-RU

Sinhalese

si

Sinhalese (Sri Lanka)

si-LK

Slovak

sk

Slovak (Slovakia)

sk-SK

Slovene

sl

Slovene (Slovenia)

sl-SI

Serbian

sr

Southern Sotho

st

Southern Sotho (South Africa)

st-ZA

Swedish

sv

Swedish (Sweden)

sv-SE

Swahili

sw

Tamil

ta

Tamil (India)

ta-IN

Thai

th

Thai (Thailand)

th-TH

Turkish

tr

Turkish (Turkey)

tr-TR

Ukrainian

uk

Ukrainian (Ukraine)

uk-UA

Urdu

ur

Urdu (Pakistan)

ur-PK

Uzbek

uz

Vietnamese

vi

Vietnamese (Vietnam)

vi-VN

Xhosa

xh

Xhosa (South Africa)

xh-ZA

Yoruba

yo

Yoruba (Nigeria)

yo-NG

Chinese

zh

Chinese (China)

zh-CN

Chinese (Hong Kong)

zh-HK

Chinese (Taiwan)

zh-TW

Zulu

zu

Zulu (South Africa)

zu-ZA

Table: Formatter class supported locales in Nokia Asha software platform 1.0

Language

Locale

Afrikaans

af

Afrikaans (South Africa)

af-ZA

Basque

eu

Basque (Spain)

eu-ES

Catalan

ca

Catalan (Spain)

ca-ES

Checo

cs

Checo (Czech Republic)

cs-CZ

Chinese

zh

Chinese (China)

zh-CN

Chinese (Hong Kong)

zh-HK

Chinese (Taiwan)

zh-TW

Dutch

nl

Dutch (Netherlands)

nl-NL

English

en

English (United Kingdom)

en-GB

English (United States)

en-US

French

fr

French (France)

fr-FR

Galician

gl

Galician (Spain)

gl-ES

German

de

German (Germany)

de-DE

Hausa

ha

Hausa (Nigeria)

ha-NG

Hebrew

he

Hebrew (Israel)

he-IL

Igbo

ig

Igbo (Nigeria)

ig-NG

Indonesian

id

Indonesian (Indonesia)

id-ID

Italian

it

Italian (Italy)

it-IT

Japanese

ja

Japanese (Japan)

ja-JP

Kannada

kn

Kannada (India)

kn-IN

Kazakh

kk

Kazakh (Kazakhstan)

kk-KZ

Khmer

km

Khmer (Cambodia)

km-KH

Lingala

ln

Lingala (Congo)

ln-CG

Malay

ms

Malay (Malaysia)

ms-MY

Polish

pl

Polish (Poland)

pl-PL

Portuguese

pt

Portuguese (Brazil)

pt-BR

Portuguese (Portugal)

pt-PT

Romanian

ro

Romanian (Romania)

ro-RO

Russian

ru

Russian (Russia)

ru-RU

Slovak

sk

Slovak (Slovakia)

sk-SK

Southern Sotho

st

Southern Sotho (South Africa)

st-ZA

Spanish

es

Spanish (United States)

es-US

Tamil

ta

Tamil (India)

ta-IN

Thai

th

Thai (Thailand)

th-TH

Turkish

tr

Turkish (Turkey)

tr-TR

Ukrainian

uk

Ukrainian (Ukraine)

uk-UA

Urdu

ur

Urdu (Pakistan)

ur-PK

Vietnamese

vi

Vietnamese (Vietnam)

vi-VN

Xhosa

xh

Xhosa (South Africa)

xh-ZA

Yoruba

yo

Yoruba (Nigeria)

yo-NG

Zulu

zu

Zulu (South Africa)

zu-ZA

Note:

The return value for getSupportedLocales() method in the Formatter class depends on the language pack selected in the phone.

For example, if the phone has selected Chinese language pack then the getSuppotedLocales() method may return a list of locales such as en-GB en-US zh-CN zh-HK zh-TW.

Table: Locale mappings supported in Nokia Asha and Series 40 software platform devices:

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

Table: Supported in Series 40:

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