bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Simple gettext-using program fails


From: cj p.
Subject: Re: Re: Simple gettext-using program fails
Date: Mon, 10 Apr 2006 00:58:22 +0000 (GMT)

To all mailinglist readers: I apologize for writing HTML mails. To Bruno: 
thanks for replying.

I tried your hint on setting LC_CTYPE, but it didn't help. I simplified my 
gettext test program even further by simply using LC_ALL, and using "" for the 
language. The resulting program (with useful scripts for reproducing the bug) 
can be found here:

www.ultimatestunts.nl/gettext/gettextbug.tgz

I added a french and a dutch translation. I found out that by using ll locale 
directory names instead of
ll_CC names (e.g. nl instead of nl_NL), at least dutch works. But french still 
doesn't work. See the README for details.

BTW, maybe I should just RTFM better, but I really don't understand this:

> In other words, setlocale(LC_MESSAGES, ...) is not enough, because it will
> leave the LC_CTYPE locale facet set to "C".

Why can't I just translate MESSAGEs, and leave the rest the same (codeset,
numeric representation etc.)? I know that the result won't be perfect in
all languages, but it won't be anyway because Ultimate Stunts is limited to
ISO-8859-1

CJP (Corné)

Download nu Lycos Inside! Bekijk al je berichten in Outlook en zet je 
documenten online!  Ga snel naar mail.lycos.nl

reply via email to

[Prev in Thread] Current Thread [Next in Thread]