We recommend using Visual Studio 2017

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 stringEquivalent Locale Name
americanen-US
american englishen-US
american-englishen-US
australianen-AU
belgiannl-BE
canadianen-CA
chhzh-HK
chizh-SG
chinesezh
chinese-hongkongzh-HK
chinese-simplifiedzh-CN
chinese-singaporezh-SG
chinese-traditionalzh-TW
dutch-belgiannl-BE
english-americanen-US
english-ausen-AU
english-belizeen-BZ
english-canen-CA
english-caribbeanen-029
english-ireen-IE
english-jamaicaen-JM
english-nzen-NZ
english-south africaen-ZA
english-trinidad y tobagoen-TT
english-uken-GB
english-usen-US
english-usaen-US
french-belgianfr-BE
french-canadianfr-CA
french-luxembourgfr-LU
french-swissfr-CH
german-austriande-AT
german-lichtensteinde-LI
german-luxembourgde-LU
german-swissde-CH
irish-englishen-IE
italian-swissit-CH
norwegianno
norwegian-bokmalnb-NO
norwegian-nynorsknn-NO
portuguese-brazilianpt-BR
spanish-argentinaes-AR
spanish-boliviaes-BO
spanish-chilees-CL
spanish-colombiaes-CO
spanish-costa ricaes-CR
spanish-dominican republices-DO
spanish-ecuadores-EC
spanish-el salvadores-SV
spanish-guatemalaes-GT
spanish-hondurases-HN
spanish-mexicanes-MX
spanish-modernes-ES
spanish-nicaraguaes-NI
spanish-panamaes-PA
spanish-paraguayes-PY
spanish-perues-PE
spanish-puerto ricoes-PR
spanish-uruguayes-UY
spanish-venezuelaes-VE
swedish-finlandsv-FI
swissde-CH
uken-GB
usen-US
usaen-US

Locale Names, Languages, and Country/Region Strings
Country/Region Strings
setlocale, _wsetlocale
_create_locale, _wcreate_locale

Show: