-
Notifications
You must be signed in to change notification settings - Fork 6
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
zh-TW
is an unsupported culture code
#44
Comments
Aha. So that must be why lazer's working. Weirdly, compiling osu.Game.Resources locally doesn't generate zh-TW but it's included in the Nuget.org nupkg? The only thing I can come up with is that Edit: Compiling on Windows via |
It looks like it may be related to the available culture codes of the system.
I still think using |
I'm unsure what to do with osu-web and crowdin for that matter. Initially I was thinking this could be a osu-localisation-analyser tool-specific thing, maybe a CLI option for converting |
For the time being, let's wait and see if .NET SDK 6.0.300 fixes the issue. It looks to be on their radar in some fashion: |
Not sure how to interpret the linked chain of pulls above in the context of waiting for SDK 6.0.300. Are these changes to be reviewed now, or are they just PR'd for visibility and to be reviewed later if upstream doesn't include a workaround on their side? |
They can be reviewed. At the end of the day I think whatever the SDK does is going to be considered a "hack" as this seems to have been an intentional change. |
We're currently pulling culture codes from the osu-web directory listing.
zh-tw
is one of them, and the only one which looks to be unsupported by .NET. This particular localisation does not generate azh-tw
directory in the output path:I don't know exactly how this is currently working in osu!/from where it's managing to pull the string resources, but it causes issues such as:
zh-TW
localisation (see: Interact with localizaton karaoke-dev/karaoke#1266)Other projects, notably Humanizer and dotnet-roslyn use
zh-Hans
andzh-Hant
in place of ourzh
andzh-TW
locales respectively.I can't really find any documentation on the supported culture codes - the closest I can find is documentation related to Bing maps which lists
zh-Hans
andzh-Hant
: https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/supported-culture-codes, however we should be reasonably able to trust that JetBrains Rider's visualisation is accurate and that zh-TW is the only one which is unsupported.The text was updated successfully, but these errors were encountered: