Sunday, March 20, 2011

What to do when the #CLDR does not have it II

In #MediaWiki messages we support the plural of items. Its implementation differs per language and at translatewiki.net we use the CLDR as the source for these rules.

This presents its own problem as the CLDR does not do fractions. Saper has just added Bug 28128 - "Consider whether {{PLURAL:}} should handle fractional numbers".

Having proper support for fractions is relevant when you want to inform for instance how many millions the Fundraiser has made for us. The current messages are mostly based on lists so that keeps it nicely integer.

Given the complexity of the support for integers in all our languages, it is a nice can of worms we are opening up. It helps that the Fundraiser only starts in November.
Thanks,
        GerardM

No comments: