Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
International Features
Locale Identifier Constants and Strings

This topic describes predefined constants and strings for locale identifiers used in multilingual applications. The following sections are included in this topic:

Standard Locale Identifier Constants and Strings
Default and Neutral Locale Identifier Information

Note: Locale names can be used with functions introduced in Windows Vista that take a locale name as a parameter, instead of a locale identifier. For more information, see Calling the "Locale Name" Functions. Use of locale names instead of locale identifiers is always preferable.

Standard Locale Identifier Constants and Strings The following table describes the standard locale identifier constants and strings. Microsoft Globaldev maintains a similar list at Global Development and Computing Portal Microsoft link. For each supported locale identifier, the table includes the corresponding locale, the locale name, an associated script, and the default ANSI code page for the locale. This information corresponds to the following constants, detailed in LCTYPE Constants (National Language Support):
  • LOCALE_SLANGUAGE. Fully localized name of the language.
  • LOCALE_SNAME. Locale/language name.
  • LOCALE_SSCRIPTS. Script for the locale.
  • LOCALE_IDEFAULTANSICODEPAGE. The ANSI code page used by the locale for applications that do not support Unicode. If no ANSI code page is available, the code page is indicated as "Unicode only" with a value of 0. Such locales cannot be set as the system locale. Applications that do not support Unicode do not work correctly with locales marked as "Unicode only".
You can use the Locale Builder utility provided by NLS to build locales. For more information, see Microsoft Locale Builder Microsoft link.
Locale identifierLocaleLocale nameScript tagANSI code page
0x0436Afrikaans (South Africa)af-ZALatn1252
0x041cAlbanian (Albania)sq-ALLatn1252
0x0484Windows Vista and later: Alsatian (France)gsw-FR  
0x045eWindows Vista and later: Amharic (Ethiopia)am-ET Unicode only
0x1401Arabic (Algeria)ar-DZArab1256
0x3c01Arabic (Bahrain)ar-BHArab1256
0x0c01Arabic (Egypt)ar-EGArab1256
0x0801Arabic (Iraq)ar-IQArab1256
0x2c01Arabic (Jordan)ar-JOArab1256
0x3401Arabic (Kuwait)ar-KWArab1256
0x3001Arabic (Lebanon)ar-LBArab1256
0x1001Arabic (Libya)ar-LYArab1256
0x1801Arabic (Morocco)ar-MAArab1256
0x2001Arabic (Oman)ar-OMArab1256
0x4001Arabic (Qatar)ar-QAArab1256
0x0401Arabic (Saudi Arabia)ar-SAArab1256
0x2801Arabic (Syria)ar-SYArab1256
0x1c01Arabic (Tunisia)ar-TNArab1256
0x3801Arabic (U.A.E.)ar-AEArab1256
0x2401Arabic (Yemen)ar-YEArab1256
0x042bWindows 2000 and later: Armenian (Armenia)hy-AMArmnUnicode only
0x044dWindows Vista and later: Assamese (India)as-IN Unicode only
0x082cAzeri (Azerbaijan, Cyrillic)az-Cyrl-AZCyrl1251
0x042cAzeri (Azerbaijan, Latin)az-Latn-AZLatn1254
0x046dWindows Vista and later: Bashkir (Russia)ba-RU  
0x042dBasque (Basque)eu-ESLatn1252
0x0423Belarusian (Belarus)be-BYCyrl1251
0x0445Windows XP SP2 and later: Bengali (India)bn-INBengUnicode only
0x201aWindows XP SP2 and later (downloadable); Windows Vista and later: Bosnian (Bosnia and Herzegovina, Cyrillic)bs-Cyrl-BACyrl1251
0x141aWindows XP SP2 and later: Bosnian (Bosnia and Herzegovina, Latin)bs-Latn-BALatn1250
0x047eBreton (France)br-FRLatn1252
0x0402Bulgarian (Bulgaria)bg-BGCyrl1251
0x0455Not supported: Burmese   
0x0403Catalan (Catalan)ca-ESLatn1252
0x0c04Chinese (Hong Kong SAR, PRC)zh-HKHant950
0x1404Windows 98/Me, Windows XP and later: Chinese (Macao SAR)zh-MOHant950
0x0804Chinese (PRC)zh-CNHans936
0x1004Chinese (Singapore)zh-SGHans936
0x0404Chinese (Taiwan)zh-TWHant950
 Windows Vista and later: Corsican (France)co-FR  
0x101aWindows XP SP2 and later: Croatian (Bosnia and Herzegovina, Latin)hr-BALatn1250
0x041aCroatian (Croatia)hr-HRLatn1250
0x0405Czech (Czech Republic)cs-CZLatn1250
0x0406Danish (Denmark)da-DKLatn1252
0x048cWindows XP and later: Dari (Afghanistan)gbz-AFArab1256
0x0465Windows XP and later: Divehi (Maldives)dv-MVThaaUnicode only
0x0813Dutch (Belgium)nl-BELatn1252
0x0413Dutch (Netherlands)nl-NLLatn1252
0x0c09English (Australia)en-AULatn1252
0x2809English (Belize)en-BZLatn1252
0x1009English (Canada)en-CALatn1252
0x2409English (Caribbean)en-029Latn1252
0x4009Windows Vista and later: English (India)en-INLatn1252
0x1809English (Ireland)en-IELatn1252
0x2009English (Jamaica)en-JMLatn1252
0x4409Windows Vista and later: English (Malaysia)en-MYLatn1252
0x1409English (New Zealand)en-NZLatn1252
0x3409Windows 98/Me, Windows 2000 and later: English (Philippines)en-PHLatn1252
0x4809Windows Vista and later: English (Singapore)en-SGLatn1252
0x1c09English (South Africa)en-ZALatn1252
0x2c09English (Trinidad and Tobago)en-TTLatn1252
0x0809English (United Kingdom)en-GBLatn1252
0x0409English (United States)en-USLatn1252
0x3009Windows 98/Me, Windows 2000 and later: English (Zimbabwe)en-ZWLatn1252
0x0425Estonian (Estonia)et-EELatn1257
0x0438Faroese (Faroe Islands)fo-FOLatn1252
0x0464Windows XP SP2 and later (downloadable); Windows Vista and later: Filipino (Philippines)fil-PHLatn1252
0x040bFinnish (Finland)fi-FILatn1252
0x080cFrench (Belgium)fr-BELatn1252
0x0c0cFrench (Canada)fr-CALatn1252
0x040cFrench (France)fr-FRLatn1252
0x140cFrench (Luxembourg)fr-LULatn1252
0x180cFrench (Monaco)fr-MCLatn1252
0x100cFrench (Switzerland)fr-CHLatn1252
0x0462Windows XP SP2 and later (downloadable); Windows Vista and later: Frisian (Netherlands)fy-NLLatn1252
0x0456Windows XP and later: Galician (Spain)gl-ESLatn1252
0x0437Windows 2000 and later: Georgian (Georgia)ka-GEGeorUnicode only
0x0c07German (Austria)de-ATLatn1252
0x0407German (Germany)de-DELatn1252
0x1407German (Liechtenstein)de-LILatn1252
0x1007German (Luxembourg)de-LULatn1252
0x0807German (Switzerland)de-CHLatn1252
0x0408Greek (Greece)el-GRGrek1253
0x046fWindows Vista and later: Greenlandic (Greenland)kl-GLLatn1252
0x0447Windows XP and later: Gujarati (India)gu-INGujrUnicode only
0x0468Windows Vista and later: Hausa (Nigeria, Latin)ha-Latn-NGLatn1252
0x040dHebrew (Israel)he-ILHebr1255
0x0439Windows 2000 and later: Hindi (India)hi-INDevaUnicode only
0x040eHungarian (Hungary)hu-HULatn1250
0x040fIcelandic (Iceland)is-ISLatn1252
0x0470Igbo (Nigeria)ig-NG  
0x0421Indonesian (Indonesia)id-IDLatn1252
0x085dWindows XP and later: Inuktitut (Canada, Latin)iu-Latn-CALatn1252
0x045dWindows XP SP2 and later (downloadable); Windows Vista and later: Inuktitut (Canada, Syllabics)iu-Cans-CACansUnicode only
0x083cWindows XP SP2 and later (downloadable); Windows Vista and later: Irish (Ireland)ga-IELatn1252
0x0410Italian (Italy)it-ITLatn1252
0x0810Italian (Switzerland)it-CHLatn1252
0x0411Japanese (Japan)ja-JPHani;Hira;Kana932
0x044bWindows XP and later: Kannada (India)kn-INKndaUnicode only
0x043fWindows 2000 and later: Kazakh (Kazakhstan)kk-KZCyrl1251
0x0453Windows Vista and later: Khmer (Cambodia)kh-KHKhmrUnicode only
0x0486Windows Vista and later: K'iche (Guatemala)qut-GTLatn1252
0x0487Windows Vista and later: Kinyarwanda (Rwanda)rw-RWLatn1252
0x0457Windows 2000 and later: Konkani (India)kok-INDevaUnicode only
0x0812Windows 95, Windows NT 4.0 only: Korean (Johab)   
0x0412Korean (Korea)ko-KRHang;Hani949
0x0440Windows XP and later: Kyrgyz (Kyrgyzstan)ky-KGCyrl1251
0x0454Windows Vista and later: Lao (Lao PDR)lo-LALaooUnicode only
0x0426Latvian (Latvia)lv-LVLatn1257
0x0427Lithuanian (Lithuania)lt-LTLatn1257
0x082eWindows Vista and later: Lower Sorbian (Germany)dsb-DELatn1252
0x046eWindows XP SP2 and later (downloadable); Windows Vista and later: Luxembourgish (Luxembourg)lb-LULatn1252
0x042fWindows 2000 and later: Macedonian (Macedonia, FYROM)mk-MKCyrl1251
0x083eWindows 2000 and later: Malay (Brunei Darussalam)ms-BNLatn1252
0x043eWindows 2000 and later: Malay (Malaysia)ms-MYLatn1252
0x044cWindows XP SP2 and later: Malayalam (India)ml-INMlymUnicode only
0x043aWindows XP SP2 and later: Maltese (Malta)mt-MTLatn1252
0x0481Windows XP SP2 and later: Maori (New Zealand)mi-NZLatn1252
0x047aWindows XP SP2 and later (downloadable); Windows Vista and later: Mapudungun (Chile)arn-CLLatn1252
0x044eWindows 2000 and later: Marathi (India)mr-INDevaUnicode only
0x047cWindows XP SP2 and later (downloadable); Windows Vista and later: Mohawk (Canada)moh-CALatn1252
0x0450Windows XP and later: Mongolian (Mongolia)mn-Cyrl-MNCyrl1251
0x0850Windows Vista and later: Mongolian (PRC)mn-Mong-CNMongUnicode only
Nepali (India)ne-IN__Unicode only
0x0461Windows XP SP2 and later (downloadable); Windows Vista and later: Nepali (Nepal)ne-NPDevaUnicode only
0x0414Norwegian (Bokmål, Norway)nb-NOLatn1252
0x0814Norwegian (Nynorsk, Norway)nn-NOLatn1252
0x0482Occitan (France)oc-FRLatn1252
0x0448Oriya (India)or-INOryaUnicode only
0x0463Windows XP SP2 and later (downloadable); Windows Vista and later: Pashto (Afghanistan)ps-AF  
0x0429Persian (Iran)fa-IRArab1256
0x0415Polish (Poland)pl-PLLatn1250
0x0416Portuguese (Brazil)pt-BRLatn1252
0x0816Portuguese (Portugal)pt-PTLatn1252
0x0446Windows XP and later: Punjabi (India)pa-INGuruUnicode only
0x046bWindows XP SP2 and later: Quechua (Bolivia)quz-BOLatn1252
0x086bWindows XP SP2 and later: Quechua (Ecuador)quz-ECLatn1252
0x0c6bWindows XP SP2 and later: Quechua (Peru)quz-PELatn1252
0x0418Romanian (Romania)ro-ROLatn1250
0x0417Windows XP SP2 and later (downloadable); Windows Vista and later: Romansh (Switzerland)rm-CHLatn1252
0x0419Russian (Russia)ru-RUCyrl1251
0x243bWindows XP SP2 and later: Sami (Inari, Finland)smn-FILatn1252
0x103bWindows XP SP2 and later: Sami (Lule, Norway)smj-NOLatn1252
0x143bWindows XP SP2 and later: Sami (Lule, Sweden)smj-SELatn1252
0x0c3bWindows XP SP2 and later: Sami (Northern, Finland)se-FILatn1252
0x043bWindows XP SP2 and later: Sami (Northern, Norway)se-NOLatn1252
0x083bWindows XP SP2 and later: Sami (Northern, Sweden)se-SELatn1252
0x203bWindows XP SP2 and later: Sami (Skolt, Finland)sms-FILatn1252
0x183bWindows XP SP2 and later: Sami (Southern, Norway)sma-NOLatn1252
0x1c3bWindows XP SP2 and later: Sami (Southern, Sweden)sma-SELatn1252
0x044fWindows 2000 and later: Sanskrit (India)sa-INDevaUnicode only
0x1c1aWindows XP SP2 and later: Serbian (Bosnia and Herzegovina, Cyrillic)sr-Cyrl-BACyrl1251
0x181aWindows XP SP2 and later: Serbian (Bosnia and Herzegovina, Latin)sr-Latn-BALatn1250
0x0c1aSerbian (Serbia, Cyrillic)sr-Cyrl-CSCyrl1251
0x081aSerbian (Serbia, Latin)sr-Latn-CSLatn1250
0x046cWindows XP SP2 and later: Sesotho sa Leboa/Northern Sotho (South Africa)ns-ZALatn1252
0x0432Windows XP SP2 and later: Setswana/Tswana (South Africa)tn-ZALatn1252
0x045bWindows Vista and later: Sinhala (Sri Lanka)si-LKSinhUnicode only
0x041bSlovak (Slovakia)sk-SKLatn1250
0x0424Slovenian (Slovenia)sl-SILatn1250
0x2c0aSpanish (Argentina)es-ARLatn1252
0x400aSpanish (Bolivia)es-BOLatn1252
0x340aSpanish (Chile)es-CLLatn1252
0x240aSpanish (Colombia)es-COLatn1252
0x140aSpanish (Costa Rica)es-CRLatn1252
0x1c0aSpanish (Dominican Republic)es-DOLatn1252
0x300aSpanish (Ecuador)es-ECLatn1252
0x440aSpanish (El Salvador)es-SVLatn1252
0x100aSpanish (Guatemala)es-GTLatn1252
0x480aSpanish (Honduras)es-HNLatn1252
0x080aSpanish (Mexico)es-MXLatn1252
0x4c0aSpanish (Nicaragua)es-NILatn1252
0x180aSpanish (Panama)es-PALatn1252
0x3c0aSpanish (Paraguay)es-PYLatn1252
0x280aSpanish (Peru)es-PELatn1252
0x500aSpanish (Puerto Rico)es-PRLatn1252
0x0c0aSpanish (Spain)es-ESLatn1252
0x040aSpanish (Spain, Traditional Sort)es-ES_tradnlLatn1252
0x540aWindows Vista and later: Spanish (United States)es-US  
0x380aSpanish (Uruguay)es-UYLatn1252
0x200aSpanish (Venezuela)es-VELatn1252
0x0430Not supported: Sutu   
0x0441Windows 2000 and later: Swahili (Kenya)sw-KELatn1252
0x081dSwedish (Finland)sv-FILatn1252
0x041dSwedish (Sweden)sv-SELatn1252
0x045aWindows XP and later: Syriac (Syria)syr-SYSyrcUnicode only
0x0428Windows Vista and later: Tajik (Tajikistan)tg-Cyrl-TJCyrl1251
0x085fWindows Vista and later: Tamazight (Algeria, Latin)tmz-Latn-DZLatn1252
0x0449Windows 2000 and later: Tamil (India)ta-INTamlUnicode only
0x0444Windows XP and later: Tatar (Russia)tt-RUCyrl1251
0x044aWindows XP and later: Telugu (India)te-INTeluUnicode only
0x041eThai (Thailand)th-THThai874
0x0851Windows Vista and later: Tibetan (Bhutan)bo-BTTibtUnicode only
0x0451Windows Vista and later: Tibetan (PRC)bo-CNTibtUnicode only
0x041fTurkish (Turkey)tr-TRLatn1254
0x0442Windows Vista and later: Turkmen (Turkmenistan)tk-TMCyrl1251
0x0480Windows Vista and later: Uighur (PRC)ug-CNArab1256
0x0422Ukrainian (Ukraine)uk-UACyrl1251
0x042eWindows Vista and later: Upper Sorbian (Germany)wen-DELatn1252
0x0820Urdu (India)tr-IN  
0x0420Windows 98/Me, Windows 2000 and later: Urdu (Pakistan)ur-PKArab1256
0x0843Windows 2000 and later: Uzbek (Uzbekistan, Cyrillic)uz-Cyrl-UZCyrl1251
0x0443Windows 2000 and later: Uzbek (Uzbekistan, Latin)uz-Latn-UZLatn1254
0x042aWindows 98/Me, Windows NT 4.0 and later: Vietnamese (Vietnam)vi-VNLatn1258
0x0452Windows XP SP2 and later: Welsh (United Kingdom)cy-GBLatn1252
0x0488Windows Vista and later: Wolof (Senegal)wo-SNLatn1252
0x0434Windows XP SP2 and later: Xhosa/isiXhosa (South Africa)xh-ZALatn1252
0x0485Windows Vista and later: Yakut (Russia)sah-RUCyrl1251
0x0478Windows Vista and later: Yi (PRC)ii-CNYiiiUnicode only
0x046aWindows Vista and later: Yoruba (Nigeria)yo-NG  
0x0435Windows XP SP2 and later: Zulu/isiZulu (South Africa)zu-ZALatn1252
Default and Neutral Locale Identifier Information The following table defines default and neutral locale identifiers.
Locale identifierLocaleLocale identifier constantDefinition
0x0C00Default custom locale LOCALE_CUSTOM_DEFAULTWindows Vista and later: Language corresponds to the default custom locale. When an NLS function must return a locale identifier for a supplemental locale that is the locale of the current user, the function returns this value instead of LOCALE_USER_DEFAULT.
0x1400Default custom Multilingual User Interface (MUI) localeLOCALE_CUSTOM_UI_DEFAULTWindows Vista and later: Language corresponds to the default custom MUI locale. The user preferred UI languages and the system preferred UI languages can include at most a single language that is implemented by a Language Interface Pack (LIP) and for which the language identifier corresponds to a supplemental locale. If there is such a language in a list, the identifier is used to refer to that language in certain contexts.
0x1000Custom localeLOCALE_CUSTOM_UNSPECIFIEDWindows Vista and later: Language corresponds to an unspecified custom locale, used to identify all supplemental locales except the locale for the current user. Supplemental locales, introduced in Windows Vista, cannot be distinguished from one another by their locale identifiers, but can be distinguished by their locale names. Certain NLS functions can return this value to indicate that they cannot provide a useful identifier for a particular locale.
0x007fInvariant locale
LOCALE_INVARIANT Language corresponds to the invariant locale used for system-level functions. This identifier is designed for system-level functions that require consistent results. Typically, an application does not use LOCALE_INVARIANT because it expects the results of an action to depend on the rules governing each individual locale. 0x0000Neutral locale LOCALE_NEUTRALLanguage corresponds to the neutral locale. Your applications generally do not use this identifier. Instead, they use either LOCALE_SYSTEM_DEFAULT or LOCALE_USER_DEFAULT. 0x0800System default language LOCALE_SYSTEM_DEFAULTLanguage corresponds to the system default locale. 0x0400User (or process) default localeLOCALE_USER_DEFAULTLanguage corresponds to the user (or process) default locale.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Locale names are preferred to locale IDs.      Shawn Steele [MSFT]   |   Edit   |   Show History
There are some strange issues with locale ids, such as the fact that all custom locales have the same id. In practice it is usually better to use locale names.
Tags What's this?: latn (x) Add a tag
Flag as ContentBug
Corsican      ashemedai   |   Edit   |   Show History
Corsican has an id of 0x0483 according to http://msdn.microsoft.com/en-us/library/dd318693(VS.85).aspx

Tags What's this?: co (x) co_fr (x) corsican (x) Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker