Apps :: Problems with gettext
Hi,
I'm trying to run a C++ application on DSL. This application uses gettext() for internationalization. But it doesn't work. I don't see the translated messages ... the programm only shows the message id strings.
So I installed the packages gettext and gettext-base ... but that didn't change anything. The console application "gettext" doesn't work too ... it only gives me the message id strings. TEXTDOMAINDIR and TEXTDOMAIN are set to the correct values.
I tested the same application in a full Fedora installation ... and it works without any problems. As the console application "gettext" does.
Is the glibc compiled without support for gettext?
Or how can I get gettext to work?
Where did you get/install those packages from?
Does glibc have to be compiled with that support in order to work?
I found the "mistake" ... Fedora uses the LC_MESSAGES variable to determine the language for gettext. But DSL uses the LANGUAGES environment variable to do that -- that's not what I expected ;-)
original here.