only loading a language installed on system

kyosohma at gmail.com kyosohma at gmail.com
Wed Apr 4 13:31:05 EDT 2007


On Apr 4, 1:27 am, "ianaré" <ian... at gmail.com> wrote:
> i'm doing this:
>
> mylocale = wx.Locale(wx.LANGUAGE_POLISH, wx.LOCALE_LOAD_DEFAULT)
> if not wx.Locale.IsOk(mylocale):
>     mylocale = wx.Locale(wx.LANGUAGE_DEFAULT, wx.LOCALE_LOAD_DEFAULT)
>
> and getting this:
> Segmentation fault (core dumped)
>
> I'm trying to see if I can properly load a language. If the system
> will not load it, then use system default. What am I doing wrong?
>
> TIA

You would probably be better off to post this question to the wxPython
users group: http://wxpython.org/maillist.php

Here's some related links about Internationalization with wxPython
though:

http://wiki.wxpython.org/index.cgi/Internationalization
http://wiki.wxpython.org/index.cgi/RecipesI18n

Mike




More information about the Python-list mailing list