In the DefaultPluralRuleGenerator we use pre-compiled plural forms for most known cultures based on the Unicode CLDR Project data. Honestly I don't remember how I implemented it back in 2012.
We need to update this rules to the latest CLDR release (v28) and make an automated update process for future CLDR releases and document it.
Plural rules can be found in: core.zip/common/supplemental/{plurals.xml|pluralRanges.xml}.
Original GNU/Gettext's msginithas support for the Unicode CLDR Project format. We can try use it.
In the
DefaultPluralRuleGenerator
we use pre-compiled plural forms for most known cultures based on the Unicode CLDR Project data. Honestly I don't remember how I implemented it back in 2012. We need to update this rules to the latest CLDR release (v28) and make an automated update process for future CLDR releases and document it.Plural rules can be found in:
core.zip/common/supplemental/{plurals.xml|pluralRanges.xml}
.Original GNU/Gettext's
msginit
has support for the Unicode CLDR Project format. We can try use it.Also this project looks interesting.