[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] What about moving cldr-plurals to the bin directory?
From: |
Michele Locati |
Subject: |
Re: [bug-gettext] What about moving cldr-plurals to the bin directory? |
Date: |
Thu, 2 May 2019 09:25:32 +0200 |
Hi Bruno,
> > cldr-plurals is a great utility, and keeping it in the lib directory
> > somehow "hides" it.
>
> This is on purpose. The only real use of the 'cldr-plurals' program is
> to find the plural formula for a new PO file, and the 'msginit' program
> provides access to this functionality.
Well, this is the "only real use" for the gettext tools, but someone
may want to know the plural forms for a language.
With cldr-plurals it's enough to write
cldr-plurals language /path/to/cldr/plurals.xml
Without cldr-plurals, we'd the need to create an empty pot, generate
the .po and extract the value of the Plural-Forms header...
--
Michele