[GRASS5] GRASS internationalization
alex at asrv.fcpf.ru
Thu Feb 28 09:06:18 EST 2002
On Thu, Feb 28, 2002 at 01:14:34PM +0000, Glynn Clements wrote:
> [In response to the recent commits]
> The references to LOCALEDIR should also be removed from the definition
> of DEFS. C files which use LOCALEDIR should use '#include <config.h>'
> to obtain the definition.
> 1. The calls to bindtextdomain() and textdomain() need to be
> conditionalised upon the presence of libintl.h.
Yes, right. There must be ifdef. I'll commit the changes to two
> 2. Something should be including <locale.h> for setlocale().
It's included in libintl.h
> 3. I don't think that using LC_ALL is a good idea. E.g., this will
> cause *printf() to use a comma as the decimal separator in some
> locales. It should probably just be LC_MESSAGES.
I agree with that.
> I've updated configure and config.h.in to define HAVE_LIBINTL_H, and
> updated glocale.h to use it. I haven't changed anything in
> Glynn Clements <glynn.clements at virgin.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20020228/f8de1b96/attachment.bin
More information about the grass-dev