Re: gettext implementation for glib
- From: Alex Larsson <alexl redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Havoc Pennington <hp redhat com>, Sven Neumann <sven gimp org>, <gtk-devel-list gnome org>
- Subject: Re: gettext implementation for glib
- Date: Fri, 3 Aug 2001 10:32:01 -0400 (EDT)
On 3 Aug 2001, Owen Taylor wrote:
> gtkrc.c has:
>
> #ifdef G_OS_WIN32
> locale = g_win32_getlocale ();
> #else
> locale = setlocale (LC_CTYPE, NULL);
> #endif
>
> and gtkimmulticontext.c has:
>
> #ifdef HAVE_LC_MESSAGES
> locale = setlocale (LC_MESSAGES, NULL);
> #else
> locale = setlocale (LC_CTYPE, NULL);
> #endif
>
> So we seem to have some missed opportunity for portability functions,
> but you should be able to do something along these lines.
Would you object to a g_get_locale() function?
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]