On different plural systems
Last edit: 16:39, 10 March 2012
I made some research on the various plural systems used by projects in translatewiki.net. It compares plural rules between three main systems: MediaWiki, Gettext and CLDR (used by Ruby projects). The results are at page Plural/Comparison_of_plural_rules_in_various_databases. The most troubling part are the detailed reports after the overview. In the detailed part the plural rules are compared between all applicable systems. If there are differences, those are printed out. Can we reach out speakers of those languages to verify which ruleset (if any) is correct.
If we can sort those issues out, we can go further and try to get CLDR data as complete as possible, and have all other projects use CLDR definitions in way or another. We could for example provide extended list of plural rules (based on CLDR data with missing rules added) for all the supported projects.
If someone wonders about the Gettext, there isn't any agreed standard on those rules, and different projects may use different rules for the same language. The list of Gettext rules would be those used by translatewiki.net and is built on multiple sources. The raw data for Gettext is at  and preprocessed CLDR data is at . There is one more peculiarity with CLDR data, that it also tries to take into account decimal numbers.
You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in the group: Users.
You can view and copy the source of this page.Lloffiwr
OK. If that is so, am I right in thinking that for the projects here which use Gettext, we can use the 6 plural rules for Welsh, same as currently used on MediaWiki and CLDR?