Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Problems with gettext, Cannot get it to work< Next Oldest | Next Newest >
gerol80 Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 14 2006,11:16 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 14 2006,14:39 QUOTE

Where did you get/install those packages from?

Does glibc have to be compiled with that support in order to work?
Back to top
Profile PM 
gerol80 Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 14 2006,15:02 QUOTE

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 ;-)
Back to top
Profile PM 
2 replies since Nov. 14 2006,11:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Problems with gettext

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code