gettext support for Linux and Windows

Daniele daniele at NOSPAM.org
Tue Oct 12 22:59:35 CEST 2004


Dearest,

I have a script that I need to localize.

1. step

import gettext

2. step

_ = gettext.gettext

3. step

gettext.bindtextdomain('nbdutils', (os.getcwd() + '\locale'))

4. step

completed my it.po and copied into

locale/it_IT/LC_MESSAGES/it.mo

Running my apps on windows I can't see any translated string.
Please, help me!
-- 
Daniele



More information about the Python-list mailing list