This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does i18n work?
- To: Peter Eisentraut <peter_e at gmx dot net>
- Subject: Re: Does i18n work?
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Mon, 12 Mar 2001 22:37:34 +0100
- Cc: gcc at gcc dot gnu dot org
- References: <Pine.LNX.4.30.0103122145180.1047-100000@peter.localdomain>
* 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