=?koi8-r?Q?Re[2]=3A_Force_english_locale_on_Win32?=
- From: Саша Иваненко <kitovyj mail ru>
- To: gtkmm-list gnome org
- Subject: Re[2]: Force english locale on Win32
- Date: Sun, 07 Jun 2009 14:39:06 +0400
> Try passing false as a set_locale parameter to Gtk::Main(),
It does not help... :(
-----Original Message-----
From: Alexander Shaduri <ashaduri gmail com>
To: Саша Иваненко <kitovyj mail ru>
Date: Sun, 7 Jun 2009 14:29:40 +0400
Subject: Re: Force english locale on Win32
> On Sun, 07 Jun 2009 14:10:47 +0400
> Саша Иваненко <kitovyj mail ru> wrote:
>
> > I use gtkmm for my GUI app on Win32 XP platform. Native locale for my system is russian. Problem is I cant force gtkmm to speak english! I have searched various forums, but nothing helps. I tried to sel locale at program startup using these functions:
> >
> > putenv("LANG=en_US.UTF8");
> > putenv("LANGUAGE=en_US");
> > putenv("LC_ALL=en_US");
> > setlocale(LC_ALL, "C");
> >
> > But gtkmm still print russian text on the standard dialog buttons etcetera.
> > Please help to force english locale to gtkmm.
>
> Try passing false as a set_locale parameter to Gtk::Main(), see
> http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Main.html
>
> AFAIK, the LANG variables don't have any effect in win32.
>
> Alexander
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]