Internationalization (saver.py)
Hi. I would like to translate saver.py to Dutch (all strings). What's the best way?
I'm actually not sure how to translate a plug-in that's added to your install rather than being part of the standard GIMP build. Probably saver.py would need underscores added, e.g. msg = _("Saving ") + filename instead of msg = "Saving " + filename, for all the strings that need to be translated. https://git.gnomegettext.install("gimp20-python", gimp.locale_directory, plus the line: unicode=True).org/browse/gimp/tree/plug-ins/pygimp/plug-ins at the beginning after the imports. It looks like not all the Python plug-ins in the GIMP source tree are translated, but this one might work as an example: https://git.gnome.org/browse/gimp/tree/plug-ins/pygimp/plug-ins/py-slice.py I'm not sure where the corresponding .po or other translation files need to be installed, though.
I'd be happy to take patches to internationalize Saver.