-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Blazor WASM] CultureInfo.DisplayName not consistent #55348
Comments
@enricobenedos thanks for contacting us. Have you setup |
This is my project file with the new
but nothing has changed. |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Blazor WASM has its own cut-down version of culture data, and, as I understand it, that excludes culture names. (Though that article does not explicitly mention |
Hi @svick, |
This is a dupe of #44739 let's keep the discussion there. |
Describe the bug
CultureInfo
DisplayName
property does not return a consistent value in Blazor WASM projects.To Reproduce
Example:
Actual Value
en (US)
Expected Value
English (United States)
(as described in https://docs.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.displayname?view=net-5.0)
Exceptions (if any)
No exceptions.
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: