-
Notifications
You must be signed in to change notification settings - Fork 5k
Missing Valencian language #115180
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
Comments
Tagging subscribers to this area: @dotnet/area-system-globalization |
The culture list is provided by underlying culture provider. |
Does this make it appear on all OS or does it only apply to Windows? I have not been able to check if the same thing happens in other OS. Thanks! |
NLS is Windows only. On other OSes currently there is no way to use globalization component other than ICU, and their behavior is expected to the same with Windows with ICU. Note that ICU versions can differ for different OS versions. You have to wait for updated ICU to be included in updated OS. |
Ok, thanks! |
Note that it's possible to build your own version of ICU, if you really need it. Potentially, you could also create a custom culture object with Valencian. |
And how can it be done? Sounds complicated.
You mean what I already put |
I'm not completely sure, and it probably depends on distro. But presumably you'd build icu4c.
You have a few options:
|
Thank you very much for the information @Clockwork-Muse |
Description
If you run this example on .NET 9, the Valencian language does not appear among the available languages:
https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.getcultures#examples
Even in Windows or Office it is possible to install it as a language:
https://support.microsoft.com/en-us/office/language-accessory-pack-for-microsoft-365-82ee1236-0f9a-45ee-9c72-05b026ee809f
Reproduction Steps
Output:
Catalan (Spain, Valencian)
Expected behavior
It should appear in the list of
CultureInfo.GetCultures(CultureTypes.AllCultures)
.Actual behavior
The language does not appear in the list.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: