On Mon, May 12, 2008 at 8:50 PM, Marvin Zhang <[EMAIL PROTECTED]> wrote:
> There is a method to change the locale by setting the environment LC_ALL in 
> windows (2000 or XP). But how to change the locale in the application?
>  I tried
>  1. setlocale(LC_ALL, "zh_CN");
>  2. SetEnvironmentVariable("LC_ALL", "zh_CN");

Setting the "LANG" environment variable before calling gtk_init() should do it.

-D
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to