-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
OS.get_locale in Windows does not match sublang #37203
Comments
This seems to be Windows-specific, as I get |
Looks like this is OS-specific. I get "en-AU" on OSX (correct), "en_US" on linux (correct), and "en" on windows (only half correct). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version:
3.2
OS/device including version:
Windows 10
Issue description:
OS.get_locale() does not return full locale
Ex: 'zh_TW' or 'zh_CN' will return 'zh' only
may be change to
int sublang = langid >> 10;
will work.The text was updated successfully, but these errors were encountered: