bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Intraline order with xgettext -F


From: Chusslove Illich
Subject: [bug-gettext] Intraline order with xgettext -F
Date: Sat, 18 Aug 2012 14:08:17 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

When xgettext is run with sorting by file location enabled (-F), if several
messages come from same file and line (i.e. equal source reference) then
between themselves they get sorted by msgid. I consider this behavior wrong,
as the intention of sorting by file location is to have messages in the same
order as they would appear when going through sorted source tree and through
each source file, reading from left to right. So, the order of messages
extracted from same source line should be preserved when -F is used.

More generally, messages should be in the order in which they appear in the
source file, whenever the resulting PO file is to be directly translated (as
opposed to e.g. building compendium). This is because also the relative
position of the message may give hint (context) on how to translate it. The
infraction of this rule by xgettext -F is rather minor, given that it is
limited to single source line, but it anyway should not happen.

-- 
Chusslove Illich (Часлав Илић)

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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