Translations output to stderr

Ian Lance Taylor iant@google.com
Fri Oct 12 16:53:00 GMT 2007


NightStrike <nightstrike@gmail.com> writes:

> When I compile gcc without "--disable-nls", I see lines such as the
> following outputted to stderr:
> 
> 0 translated messages, 170 fuzzy translations, 23 untranslated messages.
> 193 translated messages.
> 
> I understand why lines of the first type are output to stderr, as it
> represents an imperfect translation.  However, why is the second line
> not sent to stdout instead?  If there is no issue with the
> translation, if everything went fine, shouldn't that go to stdout
> instead of stderr?

Those lines are printed by the msgfmt program, which is not part of
gcc.  msgfmt is part of the gettext package.  To fix this, you need to
fix msgmft.

I don't know who is maintaining gettext these days, but there is some
information here: http://www.gnu.org/software/gettext/

Ian



More information about the Gcc-help mailing list