[Gimp-user] How to do : Internationalization / localization I18N L10N of a python plugin



Hi.

I'm trying to do some internalization / localization of a plugin of mine,
written in python, but I'm stuck.

Right now, I have the following tree :
 ── plug-ins
    ├── my_plugin.pot
    ├── my_plugin.py
    └── locales
        └── fr-FR
            └── LC_MESSAGES
                └── dctrad-import_text_on_path.po

And I marked the strings I want to translate with _() in my .py file

Questions :
Do I need .mo files ?
In my .py file, what do I do after import gettext ??

-- 
Sergeileduc (via www.gimpusers.com/forums)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]