[wxPython-users] wxPython Internationalization

Robin Dunn robin at alldunn.com
Tue Jul 24 20:31:21 PDT 2007


mojocojo2000 at gmail.com wrote:

> So my question is, where would the best place be to implement the code
> above?  In start.py, main.py, in a separate file altogether?

I would just integrate it into the OnInit method.


> The
> problem I seem to be having is needing an instance of wx.App before
> the code recommended by the http://wiki.wxpython.org/Internationalization
> can become of use.

Yep.  The wx.Locale class requires that the wx.App object exist before 
you can create an instance of it.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list