|
1 | 1 | --- |
2 | | -description: "Learn more about: Language Strings" |
3 | 2 | title: "Language Strings" |
4 | | -ms.date: "11/04/2016" |
| 3 | +description: "Learn more about: Language Strings" |
| 4 | +ms.date: "1/12/2021" |
5 | 5 | helpviewer_keywords: ["language strings"] |
6 | | -ms.assetid: bbee63b1-af0b-4e44-9eaf-dd3e265c05fd |
7 | 6 | --- |
8 | 7 | # Language Strings |
9 | 8 |
|
10 | | -The [setlocale](../c-runtime-library/reference/setlocale-wsetlocale.md) and [_create_locale](../c-runtime-library/reference/create-locale-wcreate-locale.md) 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 [Appendix A: Product Behavior](/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c) in \[MS-LCID]: Windows Language Code Identifier (LCID) Reference. The language string can be any of the values in the **Language** and **Language tag** columns of the list of supported languages. For an example of code that enumerates available locale names and related values, see [NLS: Name-based APIs Sample](/windows/win32/intl/nls--name-based-apis-sample). |
| 9 | +The [`setlocale`](../c-runtime-library/reference/setlocale-wsetlocale.md) and [`_create_locale`](../c-runtime-library/reference/create-locale-wcreate-locale.md) 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 [Appendix A: Product Behavior](/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c) in \[MS-LCID]: Windows Language Code Identifier (LCID) Reference. The language string can be any of the values in the **Language** and **Language tag** columns of the list of supported languages. For an example of code that enumerates available locale names and related values, see [NLS: Name-based APIs Sample](/windows/win32/intl/nls--name-based-apis-sample). |
11 | 10 |
|
12 | 11 | ## Additional supported language strings |
13 | 12 |
|
14 | 13 | The Microsoft C run-time library implementation also supports these language strings: |
15 | 14 |
|
16 | 15 | |Language string|Equivalent Locale Name| |
17 | 16 | |---------------------|----------------------------| |
18 | | -|american|en-US| |
19 | | -|american english|en-US| |
20 | | -|american-english|en-US| |
21 | | -|australian|en-AU| |
22 | | -|belgian|nl-BE| |
23 | | -|canadian|en-CA| |
24 | | -|chh|zh-HK| |
25 | | -|chi|zh-SG| |
26 | | -|chinese|zh| |
27 | | -|chinese-hongkong|zh-HK| |
28 | | -|chinese-simplified|zh-CN| |
29 | | -|chinese-singapore|zh-SG| |
30 | | -|chinese-traditional|zh-TW| |
31 | | -|dutch-belgian|nl-BE| |
32 | | -|english-american|en-US| |
33 | | -|english-aus|en-AU| |
34 | | -|english-belize|en-BZ| |
35 | | -|english-can|en-CA| |
36 | | -|english-caribbean|en-029| |
37 | | -|english-ire|en-IE| |
38 | | -|english-jamaica|en-JM| |
39 | | -|english-nz|en-NZ| |
40 | | -|english-south africa|en-ZA| |
41 | | -|english-trinidad y tobago|en-TT| |
42 | | -|english-uk|en-GB| |
43 | | -|english-us|en-US| |
44 | | -|english-usa|en-US| |
45 | | -|french-belgian|fr-BE| |
46 | | -|french-canadian|fr-CA| |
47 | | -|french-luxembourg|fr-LU| |
48 | | -|french-swiss|fr-CH| |
49 | | -|german-austrian|de-AT| |
50 | | -|german-lichtenstein|de-LI| |
51 | | -|german-luxembourg|de-LU| |
52 | | -|german-swiss|de-CH| |
53 | | -|irish-english|en-IE| |
54 | | -|italian-swiss|it-CH| |
55 | | -|norwegian|no| |
56 | | -|norwegian-bokmal|nb-NO| |
57 | | -|norwegian-nynorsk|nn-NO| |
58 | | -|portuguese-brazilian|pt-BR| |
59 | | -|spanish-argentina|es-AR| |
60 | | -|spanish-bolivia|es-BO| |
61 | | -|spanish-chile|es-CL| |
62 | | -|spanish-colombia|es-CO| |
63 | | -|spanish-costa rica|es-CR| |
64 | | -|spanish-dominican republic|es-DO| |
65 | | -|spanish-ecuador|es-EC| |
66 | | -|spanish-el salvador|es-SV| |
67 | | -|spanish-guatemala|es-GT| |
68 | | -|spanish-honduras|es-HN| |
69 | | -|spanish-mexican|es-MX| |
70 | | -|spanish-modern|es-ES| |
71 | | -|spanish-nicaragua|es-NI| |
72 | | -|spanish-panama|es-PA| |
73 | | -|spanish-paraguay|es-PY| |
74 | | -|spanish-peru|es-PE| |
75 | | -|spanish-puerto rico|es-PR| |
76 | | -|spanish-uruguay|es-UY| |
77 | | -|spanish-venezuela|es-VE| |
78 | | -|swedish-finland|sv-FI| |
79 | | -|swiss|de-CH| |
80 | | -|uk|en-GB| |
81 | | -|us|en-US| |
82 | | -|usa|en-US| |
| 17 | +|`american`|`en-US`| |
| 18 | +|`american english`|`en-US`| |
| 19 | +|`american-english`|`en-US`| |
| 20 | +|`australian`|`en-AU`| |
| 21 | +|`belgian`|`nl-BE`| |
| 22 | +|`canadian`|`en-CA`| |
| 23 | +|`chh`|`zh-HK`| |
| 24 | +|`chi`|`zh-SG`| |
| 25 | +|`chinese`|`zh`| |
| 26 | +|`chinese-hongkong`|`zh-HK`| |
| 27 | +|`chinese-simplified`|`zh-CN`| |
| 28 | +|`chinese-singapore`|`zh-SG`| |
| 29 | +|`chinese-traditional`|`zh-TW`| |
| 30 | +|`dutch-belgian`|`nl-BE`| |
| 31 | +|`english-american`|`en-US`| |
| 32 | +|`english-aus`|`en-AU`| |
| 33 | +|`english-belize`|`en-BZ`| |
| 34 | +|`english-can`|`en-CA`| |
| 35 | +|`english-caribbean`|`en-029`| |
| 36 | +|`english-ire`|`en-IE`| |
| 37 | +|`english-jamaica`|`en-JM`| |
| 38 | +|`english-nz`|`en-NZ`| |
| 39 | +|`english-south africa`|`en-ZA`| |
| 40 | +|`english-trinidad y tobago`|`en-TT`| |
| 41 | +|`english-uk`|`en-GB`| |
| 42 | +|`english-us`|`en-US`| |
| 43 | +|`english-usa`|`en-US`| |
| 44 | +|`french-belgian`|`fr-BE`| |
| 45 | +|`french-canadian`|`fr-CA`| |
| 46 | +|`french-luxembourg`|`fr-LU`| |
| 47 | +|`french-swiss`|`fr-CH`| |
| 48 | +|`german-austrian`|`de-AT`| |
| 49 | +|`german-lichtenstein`|`de-LI`| |
| 50 | +|`german-luxembourg`|`de-LU`| |
| 51 | +|`german-swiss`|`de-CH`| |
| 52 | +|`irish-english`|`en-IE`| |
| 53 | +|`italian-swiss`|`it-CH`| |
| 54 | +|`norwegian`|`no`| |
| 55 | +|`norwegian-bokmal`|`nb-NO`| |
| 56 | +|`norwegian-nynorsk`|`nn-NO`| |
| 57 | +|`portuguese-brazilian`|`pt-BR`| |
| 58 | +|`spanish-argentina`|`es-AR`| |
| 59 | +|`spanish-bolivia`|`es-BO`| |
| 60 | +|`spanish-chile`|`es-CL`| |
| 61 | +|`spanish-colombia`|`es-CO`| |
| 62 | +|`spanish-costa rica`|`es-CR`| |
| 63 | +|`spanish-dominican republic`|`es-DO`| |
| 64 | +|`spanish-ecuador`|`es-EC`| |
| 65 | +|`spanish-el salvador`|`es-SV`| |
| 66 | +|`spanish-guatemala`|`es-GT`| |
| 67 | +|`spanish-honduras`|`es-HN`| |
| 68 | +|`spanish-mexican`|`es-MX`| |
| 69 | +|`spanish-modern`|`es-ES`| |
| 70 | +|`spanish-nicaragua`|`es-NI`| |
| 71 | +|`spanish-panama`|`es-PA`| |
| 72 | +|`spanish-paraguay`|`es-PY`| |
| 73 | +|`spanish-peru`|`es-PE`| |
| 74 | +|`spanish-puerto rico`|`es-PR`| |
| 75 | +|`spanish-uruguay`|`es-UY`| |
| 76 | +|`spanish-venezuela`|`es-VE`| |
| 77 | +|`swedish-finland`|`sv-FI`| |
| 78 | +|`swiss`|`de-CH`| |
| 79 | +|`uk`|`en-GB`| |
| 80 | +|`us`|`en-US`| |
| 81 | +|`usa`|`en-US`| |
83 | 82 |
|
84 | 83 | ## See also |
85 | 84 |
|
86 | 85 | [Locale Names, Languages, and Country/Region Strings](../c-runtime-library/locale-names-languages-and-country-region-strings.md)<br/> |
87 | 86 | [Country/Region Strings](../c-runtime-library/country-region-strings.md)<br/> |
88 | | -[setlocale, _wsetlocale](../c-runtime-library/reference/setlocale-wsetlocale.md)<br/> |
89 | | -[_create_locale, _wcreate_locale](../c-runtime-library/reference/create-locale-wcreate-locale.md) |
| 87 | +[`setlocale`, `_wsetlocale`](../c-runtime-library/reference/setlocale-wsetlocale.md)<br/> |
| 88 | +[`_create_locale`, `_wcreate_locale`](../c-runtime-library/reference/create-locale-wcreate-locale.md) |
0 commit comments