<br><br>On Thursday, October 24, 2013, Amir E. Aharoni  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">Hi,<br><br></div><div dir="ltr">
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.<br>

<br></div><div dir="ltr">Here's the file:<br><a href="http://unicode.org/cldr/trac/browser/tags/release-24/common/supplemental/plurals.xml" target="_blank">http://unicode.org/cldr/trac/browser/tags/release-24/common/supplemental/plurals.xml</a><br>


<br></div><div dir="ltr">Is there any plan to update it in the core?</div></div></blockquote><div><br></div><div>There is a change in the syntax of these rules, especially for fractional support.</div><div>We have a javascript parser for these rules[1] and a php parser[2].</div>
<div>Both need to be updated as per new syntax[3]</div><div><br></div><div><br></div><div>[1] <a href="https://github.com/santhoshtr/CLDRPluralRuleParser">https://github.com/santhoshtr/CLDRPluralRuleParser</a></div><div>[2] <a href="https://git.wikimedia.org/blob/mediawiki%2Fcore/2041294b14a3d00c0812a1922ccf313daab7adad/languages%2Futils%2FCLDRPluralRuleEvaluator.php">https://git.wikimedia.org/blob/mediawiki%2Fcore/2041294b14a3d00c0812a1922ccf313daab7adad/languages%2Futils%2FCLDRPluralRuleEvaluator.php</a></div>
<div>[3] <a href="http://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules">http://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules</a></div><div><br></div><div><br></div><div>Thanks</div><div>
Santhosh</div>