On Thu, Jul 10, 2008 at 02:45:57PM +0300, Public cai wrote:
> does anybody know how to display a common dialog box such as
> wxDirDialog with its strings translated to the language used by the
> code calling this dialog box (in this case, German)? I could translate
> the message given as parameter to wxDirDialog constructor. Also, the
> title could be easily changed by using wxDialog::SetTitle(), but the
> name of the buttons, how could I also translate them?...
You need to activate the locale system.
"import locale" and wx.Locale are your friend.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
_______________________________________________
wxpython-users mailing list
wxpython-users@...
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users