bug-gettext
[Top][All Lists]
Advanced

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

Re: [developer] Latest on POSIX efforts to standardize gettext


From: Richard Lowe
Subject: Re: [developer] Latest on POSIX efforts to standardize gettext
Date: Thu, 5 May 2022 14:16:20 -0500

Sorry, I'm not familiar with this, but I'll try.

Ar Iau, 5 Mai 2022 am 13:41 Eric Blake <eblake@redhat.com> ysgrifennodd:
> In particular, this draft has an action item to me to reach out to you
> on the following question (currently found at line 1138 of that
> document, or search for "A.I."):
>
> In the msgfmt(1) utility, there is currently a difference between GNU
> and Illumos implementations on detecting duplicate msgid strings, and
> which command line switch(es) make detection of duplicates possible.
> The question is whether GNU msgfmt would be willing to use the current
> -c option (--check) have a mode for erroring out on duplicate msgid
> strings, or even adding a new command line option (-n appears to be
> available, for a mnemonic of 'no dupes') to have the duplicate
> detection available without requiring -c.

illumos doesn't currently have a `-c` or an `-n`, so we could add
either as the standard demands.
I think current illumos behaviour is that we always ignore duplicates
unless `-v` in which case we produce a warning.
I think current GNU behaviour is that duplicates are fatal?

We'd prefer not to make an incompatible change to our default
behaviour (that is, adopt the GNU behaviour as I think it is), but any
other option you present here seems fine, be it `-c` or `-n`.

I have no expertise on this, but I can try to make a little time to
read the rest of the proposal, or encourage someone else to, but I'm
not sure how successful I'd be on either count.



reply via email to

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