Skip to content

Example shows wrong Three Letter Code #11388

Open
@eXpl0it3r

Description

@eXpl0it3r

Type of issue

Code doesn't work

Description

zh-hant translates to zhh with ICU, see also the source: https://github.com/dotnet/runtime/blob/v5.0.0/src/libraries/System.Private.CoreLib/src/System/Globalization/IcuLocaleData.cs#L1753

Other Three Letter codes might also be different between NLS and ICU: https://learn.microsoft.com/en-us/dotnet/core/extensions/globalization-icu

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.threeletterwindowslanguagename?view=net-5.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Globalization/CultureInfo.xml

Document Version Independent Id

866064cc-90ce-670f-89b1-fd7b2be1f1e9

Platform Id

9e2124c7-ded0-ddd3-320b-16ceb0039a2b

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions