bug-gettext
[Top][All Lists]
Advanced

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

[bug #61249] Deprecate xgettext's -s/--sort-output


From: Bruno Haible
Subject: [bug #61249] Deprecate xgettext's -s/--sort-output
Date: Wed, 22 Jun 2022 20:45:00 -0400 (EDT)

Follow-up Comment #3, bug #61249 (project gettext):

> In many applications, source files are splitted into many files and POT
strings are not really sorted by context

Some context is still left, namely the source file. Such applications
typically have a source file per panel, or per group of panels, or a source
file per internal command/operation. Thus the per-file order of messages
*does* provide context.

> I use this option to ensure that, when a new POT is generated, diff is
easier to read.

The problem when you do so is that you deprive translators from valuable
context.

Your desire to compare an old and a new POT file can be implemented in either
of two ways, without using the xgettext -s option:
(a) Use msgcmp,
(b) Use 'msgcat -s' on each the old and the new POT file, and compare the
results using your preferred comparator program.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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