Hi,
On 9/17/26 14:59, Alma Madeleine wrote:
Does this mean that in German locale, a manpage for a different tool is
delivered?
sort-of.
generally, manpage translations are maintained within the upstream
project alongside the original version (i.e. the English version,
mostly). Then, if one gets updated, most likely (all) the translations
are updated as well.
however, in some cases, manpage translations are not maintained
alongside, but as an individual project (manpages-de, manpages-zh, etc.).
for zgrep, that is the case: neither zutils nor gzip which both have a
zgrep utility, ship a (German) manpage translation(s) for zgrep.
a wrong manpage is delivered—we'd better get a manpage in English for a right
tool rather than a German manpage for a wrong, similar tool.
note quite.
the nature of zutils is to replace zgrep from gzip. the way this is
implemented is via diversions, meaning that upon installing zutils, both
/usr/bin/zgrep as well as /usr/share/man/man1/zgrep.1 from the gzip
package are moved away, and the versions of the zutils are placed into
these locations.
with diversions (and here, practically no other mechanism can be used),
it's not reasonably possible to cover this edge case where the user
*maybe* has also installed manpage translations, so that these are also
moved away (but not "replaced", since the zutils has no translated
manpages).
given above situation and the fact, that I consider having no translated
manpage at all to be worse than the (in this case compatible tool) not
up2date German manpage (which can always be outdated anyway, given that
they are not maintained alongside the original one) - there's nothing
really that can be done about it about this specific "edge"-case, where
you use zgrep from zutils but also use the German manpages and end up
with the zgrep manpage for gzip from manpages-de.
Regards,
Daniel