Last modified: 2012-02-24 02:52:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34898, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32898 - Android app doesn't pick up Chinese locales
Android app doesn't pick up Chinese locales
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
: mobile-lang
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-09 14:33 UTC by Brion Vibber
Modified: 2012-02-24 02:52 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2011-12-09 14:33:39 UTC
Our locale files are named zh-hans and zh-hant for Simplified and Traditional Chinese respectively.

These don't seem to match up with the locale selections on Android; if I pick the simplified or traditional Chinese from the Settings/Languages and Keyboards/Language panel and restart the app I end up with English menus, not Chinese.

Probably need a mapping from zh-cn and zh-tw or something.
Comment 1 Brion Vibber 2011-12-09 14:56:28 UTC
Pull request to fix:
https://github.com/nitobi/Wikipedia/pull/66

This maps zh-cn/zh-tw to zh-hans/zh-hant in our locale processing.
Comment 2 Brion Vibber 2011-12-12 15:39:43 UTC
This should be fixed already; was merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links