The following table lists standard locale codes, sorted by code. These locales are the ones most likely to support additional features such as number formatting rules, but any valid language code (and optional country code) can be used. Note that for compatibility reasons this table uses an older code for some locales whose official code has changed over time.
Code | Description | Code | Description |
---|---|---|---|
ar |
Arabic | fr_BE |
French (Belgium) |
ar_AE |
Arabic (United Arab Emirates) | fr_CA |
French (Canada) |
ar_BH |
Arabic (Bahrain) | fr_CH |
French (Switzerland) |
ar_DZ |
Arabic (Algeria) | fr_FR |
French (France) |
ar_EG |
Arabic (Egypt) | fr_LU |
French (Luxembourg) |
ar_IQ |
Arabic (Iraq) | ga |
Irish |
ar_JO |
Arabic (Jordan) | ga_IE |
Irish (Ireland) |
ar_KW |
Arabic (Kuwait) | hi |
Hindi |
ar_LB |
Arabic (Lebanon) | hi_IN |
Hindi (India) |
ar_LY |
Arabic (Libya) | hr |
Croatian |
ar_MA |
Arabic (Morocco) | hr_HR |
Croatian (Croatia) |
ar_OM |
Arabic (Oman) | hu |
Hungarian |
ar_QA |
Arabic (Qatar) | hu_HU |
Hungarian (Hungary) |
ar_SA |
Arabic (Saudi Arabia) | in |
Indonesian |
ar_SD |
Arabic (Sudan) | in_ID |
Indonesian (Indonesia) |
ar_SY |
Arabic (Syria) | is |
Icelandic |
ar_TN |
Arabic (Tunisia) | is_IS |
Icelandic (Iceland) |
ar_YE |
Arabic (Yemen) | it |
Italian |
be |
Belarusian | it_CH |
Italian (Switzerland) |
be_BY |
Belarusian (Belarus) | it_IT |
Italian (Italy) |
bg |
Bulgarian | iw |
Hebrew |
bg_BG |
Bulgarian (Bulgaria) | iw_IL |
Hebrew (Israel) |
ca |
Catalan | ja |
Japanese |
ca_ES |
Catalan (Spain) | ja_JP |
Japanese (Japan) |
cs |
Czech | ko |
Korean |
cs_CZ |
Czech (Czech Republic) | ko_KR |
Korean (South Korea) |
da |
Danish | lt |
Lithuanian |
da_DK |
Danish (Denmark) | lt_LT |
Lithuanian (Lithuania) |
de |
German | lv |
Latvian |
de_AT |
German (Austria) | lv_LV |
Latvian (Latvia) |
de_CH |
German (Switzerland) | mk |
Macedonian |
de_DE |
German (Germany) | mk_MK |
Macedonian (Macedonia) |
de_GR |
German (Greece) | ms |
Malay |
de_LU |
German (Luxembourg) | ms_MY |
Malay (Malaysia) |
el |
Greek | mt |
Maltese |
el_CY |
Greek (Cyprus) | mt_MT |
Maltese (Malta) |
el_GR |
Greek (Greece) | nl |
Dutch |
en |
English | nl_BE |
Dutch (Belgium) |
en_AU |
English (Australia) | nl_NL |
Dutch (Netherlands) |
en_CA |
English (Canada) | no |
Norwegian |
en_GB |
English (United Kingdom) | no_NO |
Norwegian (Norway) |
en_IE |
English (Ireland) | pl |
Polish |
en_IN |
English (India) | pl_PL |
Polish (Poland) |
en_MT |
English (Malta) | pt |
Portuguese |
en_NZ |
English (New Zealand) | pt_BR |
Portuguese (Brazil) |
en_PH |
English (Philippines) | pt_PT |
Portuguese (Portugal) |
en_SG |
English (Singapore) | ro |
Romanian |
en_US |
English (United States) | ro_RO |
Romanian (Romania) |
en_ZA |
English (South Africa) | ru |
Russian |
es |
Spanish | ru_RU |
Russian (Russia) |
es_AR |
Spanish (Argentina) | sk |
Slovak |
es_BO |
Spanish (Bolivia) | sk_SK |
Slovak (Slovakia) |
es_CL |
Spanish (Chile) | sl |
Slovenian |
es_CO |
Spanish (Colombia) | sl_SI |
Slovenian (Slovenia) |
es_CR |
Spanish (Costa Rica) | sq |
Albanian |
es_CU |
Spanish (Cuba) | sq_AL |
Albanian (Albania) |
es_DO |
Spanish (Dominican Republic) | sr |
Serbian |
es_EC |
Spanish (Ecuador) | sr_BA |
Serbian (Bosnia and Herzegovina) |
es_ES |
Spanish (Spain) | sr_CS |
Serbian (Serbia and Montenegro) |
es_GT |
Spanish (Guatemala) | sr_ME |
Serbian (Montenegro) |
es_HN |
Spanish (Honduras) | sr_RS |
Serbian (Serbia) |
es_MX |
Spanish (Mexico) | sv |
Swedish |
es_NI |
Spanish (Nicaragua) | sv_SE |
Swedish (Sweden) |
es_PA |
Spanish (Panama) | th |
Thai |
es_PE |
Spanish (Peru) | th_TH |
Thai (Thailand) |
es_PR |
Spanish (Puerto Rico) | tr |
Turkish |
es_PY |
Spanish (Paraguay) | tr_TR |
Turkish (Turkey) |
es_SV |
Spanish (El Salvador) | uk |
Ukrainian |
es_US |
Spanish (United States) | uk_UA |
Ukrainian (Ukraine) |
es_UY |
Spanish (Uruguay) | vi |
Vietnamese |
es_VE |
Spanish (Venezuela) | vi_VN |
Vietnamese (Vietnam) |
et |
Estonian | zh |
Chinese |
et_EE |
Estonian (Estonia) | zh_CN |
Chinese (China) |
fi |
Finnish | zh_HK |
Chinese (Hong Kong) |
fi_FI |
Finnish (Finland) | zh_SG |
Chinese (Singapore) |
fr |
French | zh_TW |
Chinese (Taiwan) |