[GRASS5] GRASS internationalization
alex at asrv.fcpf.ru
Thu, 28 Feb 2002 17:06:18 +0300
Content-Type: text/plain; charset=us-ascii
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 <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----