Page MenuHomePhabricator

Wrong language code for Norwegian Bokmål (Android)
Closed, ResolvedPublic

Description

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.


Version: Unspecified
Severity: normal

Details

Reference
bz49340

Event Timeline

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

Symbolic links will mess up translatewiki.net imports if they are not taken care of in message group configuration.

No problem, I found a better solution, see the pull request.