join the community conversations

5000+
active members

List of country codes, Windows Language Culture Names

Comments

4 comments

  • Avatar
    Stuart Bekker

    Is it possible to cater for en-CN (English China) - or for this to be added?

    0
  • Avatar
    Cato André Fjeld Johansen
    First Responder

    Hi Stuart. 
    After running a script i found the following English supported culture names. 
     
    en-001 -- English (World)
    en-029 -- Engelsk (De karibiske øyene)
    en-150 -- English (Europe)
    en-AE -- Arabisk (De forente arabiske emirater)
    en-AG -- English (Antigua & Barbuda)
    en-AI -- English (Anguilla)
    en-AS -- English (American Samoa)
    en-AT -- English (Austria)
    en-AU -- Engelsk (Australia)
    en-BB -- English (Barbados)
    en-BE -- English (Belgium)
    en-BI -- English (Burundi)
    en-BM -- English (Bermuda)
    en-BS -- English (Bahamas)
    en-BW -- English (Botswana)
    en-BZ -- Engelsk (Belize)
    en-CA -- Engelsk (Canada)
    en-CC -- English (Cocos (Keeling) Islands)
    en-CH -- English (Switzerland)
    en-CK -- English (Cook Islands)
    en-CM -- English (Cameroon)
    en-CX -- English (Christmas Island)
    en-CY -- English (Cyprus)
    en-DE -- English (Germany)
    en-DK -- English (Denmark)
    en-DM -- English (Dominica)
    en-ER -- English (Eritrea)
    en-FI -- English (Finland)
    en-FJ -- English (Fiji)
    en-FK -- English (Falkland Islands)
    en-FM -- English (Micronesia)
    en-GB -- Engelsk (Storbritannia)
    en-GD -- English (Grenada)
    en-GG -- English (Guernsey)
    en-GH -- English (Ghana)
    en-GI -- English (Gibraltar)
    en-GM -- English (Gambia)
    en-GU -- English (Guam)
    en-GY -- English (Guyana)
    en-HK -- Engelsk (Hongkong SAR)
    en-ID -- Engelsk (Indonesia)
    en-IE -- Engelsk (Irland)
    en-IL -- English (Israel)
    en-IM -- English (Isle of Man)
    en-IN -- Engelsk (India)
    en-IO -- English (British Indian Ocean Territory)
    en-JE -- English (Jersey)
    en-JM -- Engelsk (Jamaica)
    en-KE -- English (Kenya)
    en-KI -- English (Kiribati)
    en-KN -- English (St. Kitts & Nevis)
    en-KY -- English (Cayman Islands)
    en-LC -- English (St. Lucia)
    en-LR -- English (Liberia)
    en-LS -- English (Lesotho)
    en-MG -- English (Madagascar)
    en-MH -- English (Marshall Islands)
    en-MO -- English (Macao SAR)
    en-MP -- English (Northern Mariana Islands)
    en-MS -- English (Montserrat)
    en-MT -- English (Malta)
    en-MU -- English (Mauritius)
    en-MW -- English (Malawi)
    en-MY -- Engelsk (Malaysia)
    en-NA -- English (Namibia)
    en-NF -- English (Norfolk Island)
    en-NG -- English (Nigeria)
    en-NL -- English (Netherlands)
    en-NR -- English (Nauru)
    en-NU -- English (Niue)
    en-NZ -- Engelsk (New Zealand)
    en-PG -- English (Papua New Guinea)
    en-PH -- Engelsk (Filippinene)
    en-PK -- English (Pakistan)
    en-PN -- English (Pitcairn Islands)
    en-PR -- English (Puerto Rico)
    en-PW -- English (Palau)
    en-RW -- English (Rwanda)
    en-SB -- English (Solomon Islands)
    en-SC -- English (Seychelles)
    en-SD -- English (Sudan)
    en-SE -- English (Sweden)
    en-SG -- Engelsk (Singapore)
    en-SH -- English (St Helena, Ascension, Tristan da Cunha)
    en-SI -- English (Slovenia)
    en-SL -- English (Sierra Leone)
    en-SS -- English (South Sudan)
    en-SX -- English (Sint Maarten)
    en-SZ -- English (Eswatini)
    en-TC -- English (Turks & Caicos Islands)
    en-TK -- English (Tokelau)
    en-TO -- English (Tonga)
    en-TT -- Engelsk (Trinidad og Tobago)
    en-TV -- English (Tuvalu)
    en-TZ -- English (Tanzania)
    en-UG -- English (Uganda)
    en-UM -- English (U.S. Outlying Islands)
    en-US -- Engelsk (USA)
    en-VC -- English (St. Vincent & Grenadines)
    en-VG -- English (British Virgin Islands)
    en-VI -- English (U.S. Virgin Islands)
    en-VU -- English (Vanuatu)
    en-WS -- English (Samoa)
    en-ZA -- Engelsk (Sør-Afrika)
    en-ZM -- English (Zambia)
    en-ZW -- Engelsk (Zimbabwe)

    So I dont see English china as an valid option. 

    0
  • Avatar
    Cato André Fjeld Johansen
    First Responder

    These are the available chinese culture codes.
    zh -- Chinese
    zh-CN -- Chinese (simplified, china)
    zh-Hans -- Chinese (simplified)
    zh-Hans-HK -- Chinese (Simplified Han, Hong Kong SAR) (zh-Hans-HK)
    zh-Hans-MO -- Chinese (Simplified Han, Macao SAR) (zh-Hans-MO)
    zh-Hant -- Chinese (Traditional) (zh-Hant)
    zh-HK -- Chinese (Traditional, Hong Kong S.A.R.) (zh-HK)
    zh-MO -- Chinese (Traditional, Macao S.A.R.) (zh-MO)
    zh-SG -- Chinese (Simplified, Singapore) (zh-SG)
    zh-TW -- Chinese (Traditional, Taiwan) (zh-TW)

    0
  • Avatar
    Robert Svallin

    Cato André Fjeld Johansen is there an update on supported Chinese languages? I have received information that inriver supports zh-TW, but official documentation from Microsoft mentions that this is just an alias for zh-Hant-TW and that zh-Hant-TW should be used instead.

    Running this on .Net 7 results in a different output compared to your listing:

    var cultures = System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures);

    foreach (var culture in cultures)
    {
      Console.WriteLine($"{ culture.DisplayName }, { culture.LCID }, { culture.Name }");
    }
    •  Chinese, 30724, zh
    • Chinese (Simplified), 4, zh-Hans
    • Chinese (Simplified, China), 4096, zh-Hans-CN
    • Chinese (Simplified, Hong Kong SAR), 4096, zh-Hans-HK
    • Chinese (Simplified, Macao SAR), 4096, zh-Hans-MO
    • Chinese (Simplified, Singapore), 4096, zh-Hans-SG
    • Chinese (Traditional), 31748, zh-Hant
    • Chinese (Traditional, Hong Kong SAR), 4096, zh-Hant-HK
    • Chinese (Traditional, Macao SAR), 4096, zh-Hant-MO
    • Chinese (Traditional, Taiwan), 4096, zh-Hant-TW
     

    See resources referenced by Microsoft.

    https://github.com/dotnet/docs/issues/11363

    https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo?view=net-6.0#cultureinfo-and-cultural-data

    https://www.localeplanet.com/icu/iso639.html

    0

Please sign in to leave a comment.