Comment 14 for bug 425202

Revision history for this message
jazzynico (jazzynico) wrote :

New patch attached.

A new localize() function has been added to inkex.py and called from the translatable extensions.
To make a extension translatable, you now need to remove:

 import gettext
 _ = gettex.gettext

and add:

 import inkex (if not already imported)
 inkex.localize()

Texted successfully on Windows XP and Debian Wheezy (and yes, the correct locale file is used if I use a local build instead of the packaged version!).