bug-gettext
[Top][All Lists]
Advanced

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

[bug #65858] msgfmt -c doesn't detect broken format specifiers in transl


From: Vadim Zeitlin
Subject: [bug #65858] msgfmt -c doesn't detect broken format specifiers in translations
Date: Mon, 10 Jun 2024 05:45:11 -0400 (EDT)

Follow-up Comment #5, bug #65858 (group gettext):

I'd really like to have `--check-format-strict` option in msgfmt that would do
what I thought `--check-format` did, i.e. check that the format specifications
in the original and translated string are identical, and not just compatible.

I accept that there is a theoretical possibility of changing them
intentionally when translating, but I've never seen this happen in practice
since 30 years of using gettext and, OTOH, the link given in my first comment
shows that we have many dozens of typos that could have been caught by
stricter checks in our translations. Translators are typically non-technical
and have no idea that %i and %d are the same and, anyhow, there is no possible
reason to change this intentionally. But they make typos all the time.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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