Last modified: 2014-10-07 17:09:39 UTC
For example, the app has only one set of resources called "values-zh", whereas it should have (at least) two sets of resources for Simplified and Traditional Chinese.
I ..... _think_ the dir names for zh-hans and zh-hant should be mapped to values-zh-rCN and values-zh-rTW but I'm not 100% sure this covers every possible locale.
Change 153031 had a related patch set uploaded by Brion VIBBER: Untested tweak for Chinese variants on Android app https://gerrit.wikimedia.org/r/153031
Something like the linked gerrit patch to TranslateWiki configuration may divert things to the right place. Totally untested, be warned!
Change 153031 merged by jenkins-bot: Untested tweak for Chinese variants on Android app https://gerrit.wikimedia.org/r/153031
Ok Siebrand went ahead and merged that as it looks right on their end. Let's test on the next update and confirm it works as expected...
Exported the strings from TWN to Android resources: https://gerrit.wikimedia.org/r/#/c/153472/1 It did generate the expected new Chinese variants in folder values-zh-rCN and values-zh-rTW. We still have the old values-zh folder. I believe we should link that to values-zh-rCN. The Android appcompat-v7 library also comes with a values-zh-rHK. I think this one should be linked to values-zh-rTW. Does this sound like a reasonable next step?
Change 153472 had a related patch set uploaded by BearND: Manual import of translations from TWN https://gerrit.wikimedia.org/r/153472
Change 153472 merged by jenkins-bot: Manual import of translations from TWN https://gerrit.wikimedia.org/r/153472
Change 153548 had a related patch set uploaded by BearND: Remove old Chinese default language variant https://gerrit.wikimedia.org/r/153548
Change 153549 had a related patch set uploaded by BearND: Link default and HK Chinese language variant https://gerrit.wikimedia.org/r/153549
Change 153548 merged by Dbrant: Remove old Chinese default language variant https://gerrit.wikimedia.org/r/153548
Change 153549 merged by Dbrant: Link default and HK Chinese language variant https://gerrit.wikimedia.org/r/153549
Change 153729 had a related patch set uploaded by BearND: More variants for Chinese and Hebrew https://gerrit.wikimedia.org/r/153729
*** Bug 69457 has been marked as a duplicate of this bug. ***
Change 153729 abandoned by BearND: More variants for Chinese and Hebrew Reason: Don't need most of it. Will do a simple patch with just what I need. https://gerrit.wikimedia.org/r/153729
Change 158324 had a related patch set uploaded by BearND: Map Simplified Chinese (zh-hans) to zh default https://gerrit.wikimedia.org/r/158324
Change 158324 merged by jenkins-bot: Map Simplified Chinese (zh-hans) to zh default https://gerrit.wikimedia.org/r/158324