Page MenuHomePhabricator

Running the app on a tablet set to Hebrew defaults to the English Wikipedia
Closed, ResolvedPublic

Description

I run the app on my ASUS tablet with Android 4.2.1. The tablet is set to Hebrew. The app title appears correctly in Hebrew. When I run it, however, I see the English Wikipedia: if I search for Hebrew article titles, I don't find anything, and if I search for English titles, I find them.

This may be related to the famous iw/he confusion in the language codes. If this is indeed the case, then it may also affect Yiddish and Indonesian ( http://developer.android.com/reference/java/util/Locale.html )

The app version is Version 2.0alpha1.


Version: Unspecified
Severity: normal

Details

Reference
bz62720

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:55 AM
bzimport set Reference to bz62720.
bzimport added a subscriber: Unknown Object (MLST).

Change 119107 had a related patch set uploaded by Yuvipanda:
Handle case when Android & Wiki disagree on language code.

https://gerrit.wikimedia.org/r/119107

Change 119107 merged by Yuvipanda:
Handle case when Android & Wiki disagree on language code.

https://gerrit.wikimedia.org/r/119107

Fixed in the latest alpha that I *just* pushed out (2.0-alpha-2014-03-17).

Will submit another patch for yi and in.

Change 119121 had a related patch set uploaded by Yuvipanda:
Workarounds for deprecated language codes for yi and id

https://gerrit.wikimedia.org/r/119121

Change 119121 merged by Brion VIBBER:
Workarounds for deprecated language codes for yi and id

https://gerrit.wikimedia.org/r/119121