[Mediawiki-i18n] CLDR 24 plurals

Santhosh Thottingal sthottingal at wikimedia.org
Fri Oct 25 06:18:37 UTC 2013


On Thursday, October 24, 2013, Amir E. Aharoni wrote:

> Hi,
>
> I noticed that we haven't updated the plural rules in MediaWiki core. When
> I looked at the file, I also noticed that the syntax of the rules became
> significantly different.
>
> Here's the file:
>
> http://unicode.org/cldr/trac/browser/tags/release-24/common/supplemental/plurals.xml
>
> Is there any plan to update it in the core?
>

There is a change in the syntax of these rules, especially for fractional
support.
We have a javascript parser for these rules[1] and a php parser[2].
Both need to be updated as per new syntax[3]


[1] https://github.com/santhoshtr/CLDRPluralRuleParser
[2]
https://git.wikimedia.org/blob/mediawiki%2Fcore/2041294b14a3d00c0812a1922ccf313daab7adad/languages%2Futils%2FCLDRPluralRuleEvaluator.php
[3] http://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules


Thanks
Santhosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/mediawiki-i18n/attachments/20131025/0330365a/attachment.html>


More information about the Mediawiki-i18n mailing list