https://bugzilla.wikimedia.org/show_bug.cgi?id=63265

--- Comment #1 from Brion Vibber <[email protected]> ---
Is this still an issue for Android? In theory multiple plural numbers should be
supported...


Meanwhile looks like there's a couple ways to handle this on iOS:

First is to use a handy third-party library that maps the plural rules to
separate messages: https://github.com/Smartling/ios-i18n

Second is to use a new extension in iOS 7, and leave some plurals 'broken' for
iOS 6 users:
https://developer.apple.com/library/mac/releasenotes/Foundation/RN-Foundation/#//apple_ref/doc/uid/TP30000742-CH2-SW56

Either way we'll need to extend the Translate extension's AppleFFS module to
convert to/from {{PLURAL:}} as used on TWN.


This last one probably maps best to MediaWiki-style {{PLURAL:}} coding in terms
of being able to vary individual chunks of messages, but as it requires
creating a separate .stringsdict file I'm not sure if that complicates the
input/output processing beyond what the Translate FFS interface supports.

My inclination is to go with the second method for now; can use code similar to
the AndroidXmlFFS module to flatten/unflatten translations using {{PLURAL:}} on
single keys, and the extra messages just go in/out of the same .strings file
we're already operating on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to