Skip to content
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

Improved Simplified Chinese translation. #436

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tysontan
Copy link

Updated Simplified Chinese translation. Corrected all mistakes and matched Qt's translated terms. All missing translatable entries have been filled in. Added zh_CN language code variant for Simplified Chinese translation.

Tyson Tan added 3 commits July 13, 2021 16:42
Corrected the mistakes in the current Simplified Chinese translation. Filled in all missing translatable entries. Matched terms with Qt translations.
Added zh_CN language code variant for Simplified Chinese translation. The current zh_Hans language code is technically "not-wrong", but practically never used by every system I tested on. As a result, Appimagelauncher does not show any translation for Chinese locale, be it Simplified or Traditional. The most common language code for Simplified Chinese is zh_CN. This commit is aimed to solve this issue.
@TheAssassin
Copy link
Owner

So you basically copied the zh_Hans file to zh_CN?

@tysontan
Copy link
Author

tysontan commented Aug 9, 2021

After I updated zh_Hans's translation, I copied the file as zh_CN, and changed the language code inside the file to zh_CN. The translation in both files are now identical, corrected and complete.

Like I mentioned in commit 0bd49d4, both zh_hans and zh_CN means Simplified Chinese. zh_Hans is a broader term that covers all Simplified Chinese used in Mainland China, Malaysia and Singapore and other countries. Likewise, a similar code: zh_Hant is used for Traditional Chinese.

zh_CN is used instead of zh_Hans in 99% of software projects. Most projects maintains zh_CN (Simplified Chinese) and zh_TW (Traditional Chinese). Everything else are left unused.

The conventional language code for Simplified Chinese used in Linux distro is zh_CN.

Since Appimagelauncher only has translation with zh_Hans code, it's not used on most Simplified Chinese systems, only English is displayed. By copying zh_Hans to zh_CN and marking it as such, I hope to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants