Support Windows' pseudo-locales (#3653) #3654
This is because they are not returned by the OS as supported cultures. From the documentation:
The ability to do this is useful where developers of an application wish to use the built-in Windows pseudo-locales to test their own applications' localisation support.
This PR special-cases the 4 pseudo-locales in
The relevant bits of code this change affects are shown below:
This PR also updates the values in the
The original source of the list has been removed (aspnet/Localization#323) as well as the tool that generated it (aspnet/Localization#130), so I re-generated it using that code locally in a throw-away project. I've only added new entries generated by the list. Any values that weren't generated I've left in place.
Compiling this repro application with the changes made to MSBuild by this PR, the
The text was updated successfully, but these errors were encountered:
Cool, thanks. I wasn't sure what the process for the target branch for PRs was here compared to the .NET Core repos (with master being
Assuming approved, happy to re-target onto 15.9 so the change gets released faster
At the moment, we have
* Support Windows pseudo-locales Add support for Windows pseudo-locales so that satellite resource assemblies can be compiled for them. * Update HardcodedCultureNames Update HardcodedCultureNames by regenerating it using the generated since removed from aspnet/Localization (see aspnet/Localization#130). Closes dotnet#3653