bug-gettext
[Top][All Lists]
Advanced

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

[bug #66510] Add --prefer-cldr option to msginit


From: Michele Locati
Subject: [bug #66510] Add --prefer-cldr option to msginit
Date: Tue, 3 Dec 2024 03:28:49 -0500 (EST)

Follow-up Comment #1, bug #66510 (group gettext):

For example, with the included patch applied and CLDR configured property
(that is, the GETTEXTCLDRDIR env var points to a directory that contains the
common/supplemental/plurals.xml file from CLDR v46), we have:

$ msginit --locale=it --output-file=- | grep -i plural
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

$ msginit --locale=it --output-file=- --prefer-cldr | grep -i plural
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n!=0 && n%1000000==0 ? 1 :
2);\n"




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66510>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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