Language Strings
The following language strings are recognized by setlocale. Any language not supported by the operating system is not accepted by setlocale. The three-letter language-string codes are only valid in Windows NT and Windows 95.
Primary Language |
Sublanguage |
Language String |
Chinese | Chinese | "chinese" |
Chinese | Chinese (simplified) | "chinese-simplified" or "chs" |
Chinese | Chinese (traditional) | "chinese-traditional" or "cht" |
Czech | Czech | "csy" or "czech" |
Danish | Danish | "dan"or "danish" |
Dutch | Dutch (Belgian) | "belgian", "dutch-belgian", or "nlb" |
Dutch | Dutch (default) | "dutch" or "nld" |
English | English (Australian) | "australian", "ena", or "english-aus" |
English | English (Canadian) | "canadian", "enc", or "english-can" |
English | English (default) | "english" |
English | English (New Zealand) | "english-nz" or "enz" |
English | English (UK) | "eng", "english-uk", or "uk" |
English | English (USA) | "american", "american english", "american-english", "english-american", "english-us", "english-usa", "enu", "us", or "usa" |
Finnish | Finnish | "fin" or "finnish" |
French | French (Belgian) | "frb" or "french-belgian" |
French | French (Canadian) | "frc" or "french-canadian" |
French | French (default) | "fra"or "french" |
French | French (Swiss) | "french-swiss" or "frs" |
German | German (Austrian) | "dea" or "german-austrian" |
German | German (default) | "deu" or "german" |
German | German (Swiss) | "des", "german-swiss", or "swiss" |
Greek | Greek | "ell" or "greek" |
Hungarian | Hungarian | "hun" or "hungarian" |
Icelandic | Icelandic | "icelandic" or "isl" |
Italian | Italian (default) | "ita" or "italian" |
Italian | Italian (Swiss) | "italian-swiss" or "its" |
Japanese | Japanese | "japanese" or "jpn" |
Korean | Korean | "kor" or "korean" |
Norwegian | Norwegian (Bokmal) | "nor" or "norwegian-bokmal" |
Norwegian | Norwegian (default) | "norwegian" |
Norwegian | Norwegian (Nynorsk) | "non" or "norwegian-nynorsk" |
Polish | Polish | "plk" or "polish" |
Portuguese | Portuguese (Brazil) | "portuguese-brazilian" or "ptb" |
Portuguese | Portuguese (default) | "portuguese" or "ptg" |
Russian | Russian (default) | "rus" or "russian" |
Slovak | Slovak | "sky" or "slovak" |
Spanish | Spanish (default) | "esp" or "spanish" |
Spanish | Spanish (Mexican) | "esm" or "spanish-mexican" |
Spanish | Spanish (Modern) | "esn" or "spanish-modern" |
Swedish | Swedish | "sve" or "swedish" |
Turkish | Turkish | "trk" or "turkish" |