This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does i18n work?


* Peter Eisentraut (peter_e@gmx.net) [20010312 21:40]:

> $ ../gcc/configure --prefix=/home/peter/gnu --enable-languages=c++ --enable-nls

--enable-nls is unnecessary as it's the default.

> but NLS doesn't seem to get used:
> 
> $ LANG=sv LANGUAGE=sv LC_ALL=sv LC_MESSAGES=sv gnu/bin/gcc -Wall test.c

> test.c: In function `main':
> test.c:5: `long long long' is too long for GCC
> test.c:5: warning: unused variable `u'
> 

Setting LANG should suffice. If you're using glibc2.2, you *must* set LANG
to a correct locale like sv_SE as otherwise setlocale will fail.

> (This is one of the messages that are in the Swedish translation.)
> 
> How do I make it work?
> 
> I have a German translation about 1/3 done, but I can't test it.

Currently I'm battling a beginning flu and then I have other work that will
keep me occupied for at least 2-3 weeks. So I can't say when that bug will
be fixed. 

Philipp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]