-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Localization] Fix lang code for Chinese Simplified (again!) #8549
Conversation
@Stypox @litetex I believe both of you have Weblate access, can you see if you can do anything about this? Edit: I went ahead and asked in WeblateOrg/weblate#7312 (comment). |
Doesn't this fix #6469? If so please link it in the "Fixes the following issues" section |
Also, These duplicated files might cause Failed to change file masks. |
No. Please see #6469 (comment). I can reproduce it on Android 9. String is consistent with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Stypox Can we merge this or should we wait until after the release.
If you asked me, I would like to choose waiting until release of v0.23.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I am making sure everything is ok with Weblate by:
- locking weblate
- pushing all of the weblate changes since the release onto
dev
: 8d26d9d - resetting weblate, since weblate was complaining about conflicts
- this did not cause any loss of information, as I just pushed all changes manually the step above ^
- -> weblate now shows 0 pending changes, 0 outgoing commits and 0 missing commits
- rebasing this PR on top of
dev
- force-pushing this PR
- merging this PR
- resetting weblate again
- unlocking weblate
Kudos, SonarCloud Quality Gate passed! |
What is it?
Description of the changes in your PR
First spotted in #2865.
You can also skip reading these complicated PR & Issues, see summary below:
Currently, there are two resource value files to Chinese Simplified:
b+zh+HANS+CN
BCP 47 language tags
, supported ONLY since Android N (API 24), (See Android Devoloper ), Weblate always updates this one, but it's supported only since Android 7, and honestly, BCP 47 is seldom seen(zh-rCN
is quite been used regularly).zh-rCN
Standard language code under
ISO 639-1
andISO 3166-1-alpha-2
(See Android Devoloper ), supported almost at a very beginning, but it is outdated because Weblate will NOT update this one.What I did in this PR is removing weird
b+zh+HANS+CN
and moving it to standard and ordinaryzh-rCN
.Before/After Screenshots/Screen Record
Changes of resource, no need to make Screenshots.
Fixes the following issue(s)
Just Potential bugs,
no issues related.UPDATE: Actually #6469 (it should be seen on Android 5.0 to Android 6 now) and #6468 (It might be a side effort that Weblate could not recognize
BCP 47
tag, so failed to build plural strings. see also PR #6545).Besides, Weblate#7312
APK testing
No need, but
app-debug.zip (Signed with my key)
Due diligence