gettext support for Linux and Windows

Daniele daniele at NOSPAM.org
Tue Oct 12 16:59:35 EDT 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