wxPython i18n question

Jarek Zgoda jzgoda at gazeta.usun.pl
Tue Nov 25 01:52:31 EST 2003


Logan <logan at phreaker.nospam> pisze:

>>> Is it possible to tell the wxPython widgets (e.g. file dialogs)
>>> to use another language (instead of English)?
>> 
>> Yes, look at article on i18n at wxPython Wiki.
> 
> You mean to use GNU gettext? I thought, this will only provide
> i18n for the parts of the application which I wrote myself (e.g.
> buttons, menus), but *not* for predefined wxPython widgets like
> file dialogs etc. !?

You should not only set usual locale by locale.setlocale() call, but
also use wxLocale. Check wxWindows documentation on wxLocale.

-- 
Jarek Zgoda
Unregistered Linux User #-1
http://www.zgoda.biz/ JID:zgoda at chrome.pl http://zgoda.jogger.pl/




More information about the Python-list mailing list