Page MenuHomePhabricator

Android export should support plurals appropriately
Closed, ResolvedPublic

Description

Currently there is no plural support for Android export. Should be added. Format is documented at http://developer.android.com/guide/topics/resources/string-resource.html#Plurals

Plurals are used in the Commons app and hence they won't be localized for now.


Version: unspecified
Severity: normal

Details

Reference
bz45695

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:17 AM
bzimport set Reference to bz45695.

Yuvi, we cannot implement this in the Android FFS with any priority. If this is high prio for you guys, please set some time aside to implement this in the FFS of Translate.

I'll take a look at this later this week.

(In reply to comment #2)

I'll take a look at this later this week.

Yuvi, have you managed to?
I see that at least android-commons has several untranslatable (rather important) strings because of this. https://github.com/wikimedia/android-commons/blob/12c9529bb58dcb98f1ea103ceb246cdf251d18fa/commons/res/values/strings.xml#L23

Sadly no. I'm also currently offline (technically) for exams until middle of June. Even otherwise I do not know if I will have time to look into this particular thing right away. :(

Change 65270 had a related patch set uploaded by Yuvipanda:
WIP: Plural support for AndroidFFS

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

nzmoihue wrote:

*** Bug 56150 has been marked as a duplicate of this bug. ***

Waiting for test cases in the patch.

It needs more than just tests - it's just a large stub Nikerabbit wrote a long time ago, and no work has been done on it since.

Change 65270 merged by jenkins-bot:
Plural support for AndroidFFS

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