Last modified: 2014-07-03 16:55:02 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 T69431, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67431 - Wikipedia app should not use Android's built-in localization system for the footer "Last edited" text
Wikipedia app should not use Android's built-in localization system for the f...
Status: NEW
Product: Wikipedia App
Classification: Unclassified
Android App (Other open bugs)
Stable
Smartphone other
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-02 18:59 UTC by Jack Phoenix
Modified: 2014-07-03 16:55 UTC (History)
3 users (show)

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


Attachments
Finnish Wikipedia's main page viewed through the Android app on the Nokia X (103.41 KB, image/png)
2014-07-02 18:59 UTC, Jack Phoenix
Details

Description Jack Phoenix 2014-07-02 18:59:17 UTC
Created attachment 15816 [details]
Finnish Wikipedia's main page viewed through the Android app on the Nokia X

The app shows the page's "Last modified" date at the footer of the page, above the "content is available under CC-BY-SA" message. The date that follows the "Last modified" text is formatted according to the operating system's language...which poses a problem when your language isn't supported by the OS. 

Case in point: the Nokia X and Finnish. Nokia X is available "in select countries", and Finland isn't one of those countries. It doesn't stop me from using the X here nor from installing MoreLocale 2 to have the supported apps use their Finnish localization. With such a setup, the Wikipedia app renders nicely in Finnish, save for that footer "Last modified" date. When viewing the main page of Finnish Wikipedia, it says "Viimeksi päivitetty December 30, 2013" in the footer instead of the expected and desired output, "Viimeksi päivitetty 30. joulukuuta 2013". For the English Wikipedia, the text is "Viimeksi päivitetty April 13" instead of "Viimeksi päivitetty 13. huhtikuuta".

Maybe the screenshot helps a bit.
Comment 1 Brion Vibber 2014-07-03 16:55:02 UTC
WTF, Nokia shipping a phone without Finnish locale????? :)

On my Nexus 5 with locale set to Finnish I see "Viimeksi päivitetty 29. joulukuuta 2013" as expected (timezone difference explains the different day of the month)...

So sounds like this is likely due to the missing locale data on your device, yeah.


Possibly we'd end up having to roll our own date-formatting library (or find one which handles more languages) to support UI translations in languages not supported by standard Android and iOS in general, so that might be something that happens somewhere down the line anyway... in which case throwing Finnish in should be trivial, based on however we extract data out of CLDR or from the MediaWiki date-formatting code.

But be warned this is not a big priority for shipping code right now; we generally expect that people will be using their devices set to locales that actually are supported, and are concentrating on making sure the *content* in all languages is accessible.

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


Navigation
Links