gettext on Windows

"Martin v. Löwis" martin at
Sat Oct 28 11:28:28 CEST 2006

russ.phillips.nospam at schrieb:
> Traceback (most recent call last):
>   File "", line 36, in ?
>     lan = gettext.GNUTranslations (open (sLang, "rb"))
>   File "C:\Python24\lib\", line 177, in __init__
>     self._parse(fp)
>   File "C:\Python24\lib\", line 280, in _parse
>     raise IOError(0, 'File is corrupt', filename)
> IOError: [Errno 0] File is corrupt: 'locale\\'

If it says so, it likely is right. How did you create the file?


More information about the Python-list mailing list