Junction icon indicating copy to clipboard operation
Junction copied to clipboard

Chinese translation aka zh_Hans doesn't work

Open lumingzh opened this issue 3 years ago • 7 comments

Installed from flathub, the OS is fedora silverblue 35, everything of junction is in english.

Bottles has the same issue, I'm not sure the reason is same.

lumingzh avatar Jan 21 '22 06:01 lumingzh

This is the error running with --env=LANG=zh_Hans: 2022-01-21 15-41-25 的屏幕截图

lumingzh avatar Jan 21 '22 07:01 lumingzh

Hi, Collision developer has changed the language code from zh_Hans to zh_CN and the Chinese translation works normal now. So, I wish you can test this method as well, thank you.

lumingzh avatar Mar 28 '22 10:03 lumingzh

I'm happy to implement the workaround in my apps but I'm trying to understand the problem so that it can be fixed once and for all for everyone.

Weblate is using RFC 5646 for lang codes – which means zh_Hans should be used instead of zh_CN. https://github.com/WeblateOrg/weblate/discussions/5666 .zh_Hans also appears to be the recommendation for simplified Chinese https://public-inbox.org/libc-alpha/[email protected]/T/

Your system is in zh_CN.

It looks to me that some component somewhere on your computer should be able to pick up the zh_Hans translation. It's a matter of finding which one (maybe glibc?) and reporting an issue.

What is your operating system name and version?

sonnyp avatar Mar 28 '22 11:03 sonnyp

@sonnyp OS: Fedora Silverblue 35 DE: Gnome Shell 41

lumingzh avatar Mar 28 '22 22:03 lumingzh

Could you contact glibc to figure out if this is something they can fix?

sonnyp avatar May 05 '22 14:05 sonnyp

Like this? https://sourceware.org/legacy-ml/libc-alpha/2019-10/msg00304.html

I don't think they want to change this.

lumingzh avatar May 07 '22 00:05 lumingzh

Thanks for investigating https://github.com/WeblateOrg/weblate/issues/7437#issuecomment-1126788749

I will implement the workaround in Junction for the next release

sonnyp avatar May 14 '22 18:05 sonnyp