[wxPython-users] Re: wxWizard, several question

Karsten Hilbert Karsten.Hilbert at gmx.net
Wed Aug 9 13:53:05 PDT 2006


> >On Wed, 09 Aug 2006 19:39:36 +0700, Basil Shubin <bashu at yandex.ru> wrote:
> >1. I have Wizard with several page, on a page is a three button 'Back', 
> >'Next' and 'Cancel. I want create fully i18n application, but problem in 
> >that the 'Back' and 'Next' but is untranslated and 'Cancel' is ok. How I 
> >can translate this two button? I use it under Linux, this is anyhow 
> >related to GTK/GNOME i18n or ...?

On Wed, Aug 09, 2006 at 05:32:42PM +0200, Franz Steinhaeusler wrote:
> wizard.FindWindowById(wx.ID_FORWARD).SetLabel("Naechste") (example for german)
> here you can use your I18N String.
While this does work the OP probably wonders why the "Next"
and "Back" buttons are not translated even though locale and
gettext are properly activated (other buttons are, the
wizard buttons are not). I have observed this before, too.

Pretty likely this is either just a simple omission in the
appropriate *.po file or a missing _() around the default
button labels.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




More information about the wxpython-users mailing list