Саша Иваненко schrieb:
Hi All.

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.

Just an idea, not tested though: try setting the c++ locale.
std::locale::global(std::locale("C"));

The c++ locale works independently from the c-runtime locale for iostreams, I don't know whether it affects gtkmm.


Klaus
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to