[CMake] Problems C/C++ system headers and Eclipse Generator

Hendrik Sattler post at hendrik-sattler.de
Tue Jun 9 01:26:49 EDT 2009


Am Montag 08 Juni 2009 23:09:17 schrieb Andreas Pakulat:
> > I you cannot do this for some reason: you can always choose the
> > translation domain with gettext and use the translated string to find the
> > output.
>
> Are you sure? I don't know gettext myself, but I do know Qt's
> translation mechanism and there its impossible to find out the original
> text given only the translation because you don't know the context
> and/or comment used when translating the original text. However this
> information is part of the "key" in the lookup table, hence needed.

First, you have the source and can look this up easily for gcc. I don't think 
that this will change too often. The function is called dgettext(). But as 
said, using default locale is the better choice.

HS



More information about the CMake mailing list