Re: gettext implementation for glib
- From: Sven Neumann <sven gimp org>
- To: Alex Larsson <alexl redhat com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: gettext implementation for glib
- Date: 03 Aug 2001 11:57:26 +0200
Hi,
Alex Larsson <alexl redhat com> writes:
> +static const char *
> +get_locale (void)
> +{
> + const char *locale;
> +
> + locale = g_getenv ("LANG");
> + if (locale)
> + return locale;
> +
> + return "en_US";
^^^^^
I'm not sure, but shouldn't that return "C" ?!
I'd also very much welcome a gettext implementation that allows
an application to unbind textdomains. Gimp for example binds
to a number of plug-in textdomains only to set up its menus and
it would be nice if we could unbind them after the creation of
the menu structure.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]