Last modified: 2013-06-09 05:00:58 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 T51340, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49340 - Wrong language code for Norwegian Bokmål (Android)
Wrong language code for Norwegian Bokmål (Android)
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Localization/Translation/Language (Other open bugs)
Unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-08 17:28 UTC by Dan Michael Heggø
Modified: 2013-06-09 05:00 UTC (History)
3 users (show)

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


Attachments

Description Dan Michael Heggø 2013-06-08 17:28:55 UTC
The app is fully translated into "Norsk bokmål" (nb) at translatewiki.net, but didn't show up on mobile.

Turns out when messages are imported they are saved in "messages-no.properties" instead of "messages-nb.properties", and so they are not loaded even if I have my system language correctly set. 

Note that even though Android uses the correct language code "nb" for "Norsk bokmål", I'm not sure about the status on other systems. A safe solution could be to move the file to "messages-nb.properties" and make "messages-no.properties" symlink to it.
Comment 1 Dan Michael Heggø 2013-06-08 17:53:24 UTC
Pull request: https://github.com/wikimedia/WikipediaMobile/pull/325
Comment 2 Niklas Laxström 2013-06-08 17:55:13 UTC
Symbolic links will mess up translatewiki.net imports if they are not taken care of in message group configuration.
Comment 3 Dan Michael Heggø 2013-06-08 22:58:57 UTC
No problem, I found a better solution, see the pull request.
Comment 4 Yuvi Panda 2013-06-09 05:00:58 UTC
Merged :)

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


Navigation
Links