-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
[Bug]: zh_CN/zh_HK/zh_SG/zh_TW have been removed from LINGUAS, making the Chinese translation unusable #1692
Comments
If a bot made the following changes, its behavior may need to be corrected: b91be85 |
Weblate keep breaking because of this. Since those are just symlinks, we should add them at build instead. I have to figure out how to do this. Currently adding them to the LINGUAS file will break every language due to weblate not handling the locales and only supports zh_Hans and zh_Hant |
Consider using a wrapper script to modify environment variables at runtime:
Then you can undo my changes and remove those symlinks. If environment variable substitution in python code is applicable, that's fine too. |
Should be doable |
should be fixed by 9b7164a |
Nvm, the problem is still there |
@mirkobrombin I took a brief look at this repo and weblate repo, it seems that somewhere on weblate side you can choose a different language format. See the fix at WeblateOrg/weblate@2e9c2bb |
I don't see those lang codes in weblate |
Describe the bug
zh_Hans
andzh_Hant
are not language codes actually used in Linux desktop.zh_CN
/zh_HK
/zh_SG
/zh_TW
are the language codes actually used in Linux desktop, whereCN
/SG
useHans
, andHK
/TW
useHant
.I created symlinks for them and added the actual used language code to
LINGUAS
, after this PR, the Chinese translation can be actually used: i18n: add regional variants of Chinese as symbolic links #1515But unfortunately, this commit was quickly overwritten by b91be85,
zh_CN
/zh_HK
/zh_SG
/zh_TW
was removed fromLINGUAS
, and the Chinese translation is again unavailable to actual users.To Reproduce
Switch to any Chinese locale.
Run Bottles.
Bottles are not loaded with Chinese translation.
Run this command:
You may get one of the following codes:
You have no chance of getting the following code:
Run this command:
You will get:
And
zh_Hans
andzh_Hant
are not among them.Therefore, it is meaningless to keep only
zh_Hans
andzh_Hant
inLINGUAS
for actual Chinese users, we needzh_CN
/zh_HK
/zh_SG
/zh_TW
also in it.Package
Flatpak from Flathub
Distribution
Arch linux
Health Check
Display Protocol
X11
Display Backend used by Bottles
X11
Additional context
No response
The text was updated successfully, but these errors were encountered: