[wxPython-users] [Fwd: Problem with i18n]

Robin Dunn robin at alldunn.com
Mon Nov 6 15:40:04 PST 2006


Mario Lacunza wrote:
> 
> Python Error
> Cannot set locale to 'af_ZA'
> 
> The other file Framei18N_py.py works great and use the Python gettext
> method.
> 
> Any idea?
> 
> Mi configuracion/My config:
> 
> Ubuntu Edgy Eft 6.10
> Linux Kernel 2.6.17-10-386
> Gnome 2.16.1
> Python 2.4.4c1
> wxPython 2.7.1.3 Unicode
> Boa Constructor cvs 0.5.2


Do you have the Ubuntu packages for the af_ZA locale installed?  If 
wxLocale can't successfully change the C Runtime Library's locale then 
it will fail too, and on Ubuntu the CRT locale support needs extra 
packages installed to be able to change to non-standard locales.

The command "locale -a" will show you what locales you have installed.

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





More information about the wxpython-users mailing list