bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] Plural rule definitions


From: Michele Locati
Subject: [bug-gettext] Plural rule definitions
Date: Tue, 10 Feb 2015 18:15:48 +0100

I just finished a little tool that converts the plural rules from the CLDR format to the gettext format.

IMHO it's good enough to be used as a common reference, since:

1. It's generated automatically: no human errors ;)

2. When Unicode publish a new CLDR release, it's very easy to keep that tool updated (it's as fast as copying 3 files)

3. The tool implements extensive tests to check its algorithms (all the cases are tested against the examples that comes with the CLDR data itself).

You can find this tool here:
https://github.com/mlocati/cldr-to-gettext-plural-rules

And its html result can be found here:
http://mlocati.github.io/cldr-to-gettext-plural-rules/

--
Michele

reply via email to

[Prev in Thread] Current Thread [Next in Thread]