[Gimp-user] How to do : Internationalization / localization I18N L10N of a python plugin
- From: Sergeileduc <forums gimpusers com>
- To: gimp-user-list gnome org
- Subject: [Gimp-user] How to do : Internationalization / localization I18N L10N of a python plugin
- Date: Thu, 27 Feb 2020 10:32:50 +0100
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]