Am 2007-05-13 02:19:39, schrieb David Ne?as (Yeti):
> On Fri, May 11, 2007 at 02:52:06PM +0200, John Zoidberg wrote:
> > I would like to create a GUI with GTK where the language can be chosen
> > interactively in a "settings" menu.
> > I would like this to be independant of the machines local language settings.
> 
> Each user (not machine) has separate language preferences
> and even individual applications can be run with different
> settings, e.g.
> 
>   LC_ALL=cs_CZ myapp
> 
> > How can I do that?
> 
> If you want your application to disobey for whatever reason,
> set appropriate LC_* variables yourself -- either in
> a wrapper script or with g_setenv() before initializing
> Gtk+. The selector can be GUI or not, this does not matter.

Does
        setlocale("LC_ALL", "de_DE");

not work?

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
_______________________________________________
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