Language Strings
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Language Strings.
The setlocale
and _create_locale
functions can use the Windows NLS API supported languages on operating systems that do not use the Unicode code page. For a list of supported languages by operating system version, see National Language Support (NLS) API Reference. The language string can be any of the values in the Language and Language name abbreviation columns of the list of supported languages. The C run-time library implementation also supports these language strings:
Language string | Equivalent Locale Name |
---|---|
american | en-US |
american english | en-US |
american-english | en-US |
australian | en-AU |
belgian | nl-BE |
canadian | en-CA |
chh | zh-HK |
chi | zh-SG |
chinese | zh |
chinese-hongkong | zh-HK |
chinese-simplified | zh-CN |
chinese-singapore | zh-SG |
chinese-traditional | zh-TW |
dutch-belgian | nl-BE |
english-american | en-US |
english-aus | en-AU |
english-belize | en-BZ |
english-can | en-CA |
english-caribbean | en-029 |
english-ire | en-IE |
english-jamaica | en-JM |
english-nz | en-NZ |
english-south africa | en-ZA |
english-trinidad y tobago | en-TT |
english-uk | en-GB |
english-us | en-US |
english-usa | en-US |
french-belgian | fr-BE |
french-canadian | fr-CA |
french-luxembourg | fr-LU |
french-swiss | fr-CH |
german-austrian | de-AT |
german-lichtenstein | de-LI |
german-luxembourg | de-LU |
german-swiss | de-CH |
irish-english | en-IE |
italian-swiss | it-CH |
norwegian | no |
norwegian-bokmal | nb-NO |
norwegian-nynorsk | nn-NO |
portuguese-brazilian | pt-BR |
spanish-argentina | es-AR |
spanish-bolivia | es-BO |
spanish-chile | es-CL |
spanish-colombia | es-CO |
spanish-costa rica | es-CR |
spanish-dominican republic | es-DO |
spanish-ecuador | es-EC |
spanish-el salvador | es-SV |
spanish-guatemala | es-GT |
spanish-honduras | es-HN |
spanish-mexican | es-MX |
spanish-modern | es-ES |
spanish-nicaragua | es-NI |
spanish-panama | es-PA |
spanish-paraguay | es-PY |
spanish-peru | es-PE |
spanish-puerto rico | es-PR |
spanish-uruguay | es-UY |
spanish-venezuela | es-VE |
swedish-finland | sv-FI |
swiss | de-CH |
uk | en-GB |
us | en-US |
usa | en-US |
See Also
Locale Names, Languages, and Country/Region Strings
Country/Region Strings
setlocale, _wsetlocale
_create_locale, _wcreate_locale