mirror of https://github.com/GNOME/gimp.git
![]() Since these are demos, for the sake of showing how the localization works, let's localize the goat-exercises with a locally installed catalog. Note that actually use the gimp30-std-plug-ins catalog, simply I copy it in the plug-in folder and rename it as org.gimp.extension.goat-exercises domain. As a consequence: - The C plug-in does not need the INIT_I18N anymore, which was specifically for the centrally installed catalog and cannot be used by third-party plug-in developers (so it's not a good demo code). - I now use GLib.dgettext() for Python instead of the gettext Python module, because the later won't "catch" the catalog declared in libgimp. - The other Goat exercises are now localized correctly, unlike before. - Just setting GETTEXT_PACKAGE is apparently enough for the Vala plug-in. - Lua is untested. Hopefully the code will work. |
||
---|---|---|
.. | ||
goat-exercises | ||
.gitignore | ||
Makefile.am | ||
meson.build |