Last modified: 2014-11-20 09:39:08 UTC
It seems to be not quite possible to translate the Wikipedia Android app to Serbian, at least not in a straightforward way. There are several issues: 1. Going to https://translatewiki.net/wiki/Special:Translate?filter=!translated&action=translate&group=out-wikimedia-mobile-wikipedia-android-strings and selecting sr in ULS _appears_ to work, although I'm not sure that such translations will be appropriately exported. 2. Going directly to https://translatewiki.net/wiki/Special:Translate?filter=!translated&action=translate&group=out-wikimedia-mobile-wikipedia-android-strings&language=sr doesn't work: "This language code should remain unused. Localise in sr-ec please." 3. Going directly to https://translatewiki.net/wiki/Special:Translate?filter=!translated&action=translate&group=out-wikimedia-mobile-wikipedia-android-strings&language=sr-ec doesn't work: no messages are shown and no error message is shown.
A side though: I don't know whether Android supports script variants for Serbian. I see only Cyrillic on my devices, but some other devices may support Latin. If we cannot support variants for UI translation because of the Android limitation, then Cyrillic should be the one we export for the app, given that it's what we have as the default in Wikipedia and on the devices that I can see, but Serbian speakers may shed more light on the issue.
Can be resolved by adding a code map in the yaml configuration. Android only supports two letter codes.
(In reply to Siebrand Mazeland from comment #2) > Can be resolved by adding a code map in the yaml configuration. Android only > supports two letter codes. Yep; we don't use "sr".