Hello xqt,

On 21 August 2011 15:49, <[email protected]> wrote:

> +    value. At the moment, we have only one plural_func = x: x!= 1 yet.
> Multiple
> +    PLURAL tags are not supported (yet).
>

Good to see you're working on plural support. Have you seen
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Translate/data/plural-gettext.txt?view=markup
,
which lists the plural possibilities for each language. Unfortunately,
python does not support the  a ? b : c notation, so it's not possible to
copy the code 1-on-1.

Alternatively, there is
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Translate/data/plural-cldr.yaml?view=markup
,
but that is fairly unreadable IMO.

Good luck!

Best,
Merlijn
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to