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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake