On different plural systems

Jump to navigation Jump to search

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 [1] and preprocessed CLDR data is at [2]. There is one more peculiarity with CLDR data, that it also tries to take into account decimal numbers.

Nike10:19, 11 September 2010

I am glad to say that CLDR have now changed their plural rules for Welsh to agree with the rules on translatewiki.net. See the ticket and the rules.

I haven't attempted to do anything with Gettext yet, and won't be in a position to tackle this for a while. Having had some discussions with the Bedwyr Language Institute at Bangor University about the plural rules (they requested the changes at CLDR), it appears that most commercial websites and computer programs have in the past just not put any plural rules for Welsh onto their systems. Since the mutation rules are complex, it appears that some linguists have opted to not mutate at all, just using the singular form of a word in an unmutated state, analogous to websites in English which use 'him' to refer to 'him/her'. Given that that is the case, it might prove impossible to get Gettext to follow the CLDR and translatewiki.net pattern. How big a problem is it likely to be in future if Gettext continues to be out of step with CLDR for Welsh?

Lloffiwr18:05, 4 December 2010

As far as I know we can put any rule we want into Gettext headers.

Nike19:12, 4 December 2010

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.

Return to Thread:Support/On different plural systems/reply (6).

Yes, that's how I think it works. The current set of Gettext rules in the comparison is just collection of rules from different sources.

Nike19:29, 4 December 2010