bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Changing language for GUI


From: Holger
Subject: Re: [Bug-gnubg] Changing language for GUI
Date: Mon, 25 Aug 2003 23:55:28 +0200

At 20:06 25.08.2003 +0000, Joern Thyssen wrote:
On Mon, Aug 25, 2003 at 12:28:58AM +0200, Holger wrote

> Unfortunately, there is no gtk_set_locale that takes an argument and also
> the hack above doesn't influence what it thinks is the current locale
> setting. InitGTK and thus gtk_set_locale is called much later and should
> have used Italian in the above example.

The comments in GTK+ 2 manual may sched some light on this:

        If you are calling this function because you changed the locale
        after GTK+ is was initialized, then calling this function may
        help a bit.  (Note, however, that changing the locale after GTK+
        is initialized may produce inconsistent results and is not
        really supported.)

Paragraph number two is especially interesting. It looks like we can
forget about runtime changes of the locale.

Ah, yes. I was only reading the documentation for 1.x which is by far not as extensive. But I guessed already that it won't be possible since in 1.x it should be called before gtk_init.

But I'll try to make an option that goes into effect at the next start of gnubg.

Regards,

Holger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]