[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: |
Mon, 2 Dec 2024 12:39:19 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?66510>
Summary: Add --prefer-cldr option to msginit
Group: GNU gettext
Submitter: mlocati
Submitted: Mon 02 Dec 2024 06:39:14 PM CET
Category: Plural forms
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 02 Dec 2024 06:39:14 PM CET By: Michele Locati <mlocati>
msginit can derive plural forms from both a static table (plural_table) and
from the CLDR plurals.xml file (see
https://www.gnu.org/software/gettext/manual/html_node/msginit-Invocation.html#Invoking-the-msginit-Program
).
At the moment, if the plural rules are defined in plural_table, msginit
doesn't use the CLDR data.
What about adding a --prefer-cldr option to msginit so msginit tries to
extract the plural rules from plurals.xml *before* trying with plural_table?
See attached file.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: 0001-Add-prefer-cldr-option-to-msginit.patch Size: 9KiB
<https://file.savannah.gnu.org/file/0001-Add-prefer-cldr-option-to-msginit.patch?file_id=56665>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f13d333523abc00b8bb10e20cbe61e83bc26ec2a.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66510>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66510] Add --prefer-cldr option to msginit,
Michele Locati <=