« Return to Thread: Re: how to localize a common dialog box

Re: Re: how to localize a common dialog box

by Karsten Hilbert :: Rate this Message:

Reply to Author | View in Thread

On Fri, Jul 11, 2008 at 12:42:20PM +0300, Public cai wrote:

> Firstly, my code is C++ code and it's using wxWidgets, not wxPython. I
> asked on this list because it seemed to me that I get the answer
> quicker.
What help is a quick answer that doesn't apply ?

> > Note that you can use gettext and local or wx.GetTranslation and  wx.Locale, you should use the later if you want wxPython standard  strings to be translated
> >> Note that this is NOT a requirement for wxPython-internal strings (such as stock button labels) to be translated. BOTH ways work. All one needs to make sure is that the normal Python library locale/gettext modules are imported and initialized *before* wxPython is imported.
>
> Considering that I'm using wxWidgets and not wxPython, do you know
> what I should do to accomplish this?
You'll have to do the C++ equivalent of what I suggested
doing with Python. Now, that doesn't help you much, I know.

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

 « Return to Thread: Re: how to localize a common dialog box