[QGIS-Developer] i18n for Processing plugins not working

matteo matteo.ghetta at gmail.com
Thu May 31 00:32:25 PDT 2018


Hi devs,

with a simple Processing plugin I'm noticing that the i18n strings are
not taken into account when QGIS is loaded in another language.

Here the steps I'm following:

* using self.tr() to set strings as translatable
* changin the Makefile by adding the new locale and other .py file
containing strings to be translated
* make transupdate to generate the .ts file for each language
* translation the strings with linguist
* make transcompile to compile the ts in qm

even if in the ts file the strings are set to <translated> **without**
the tag <unfinished>, if QGIS is loaded in one of the translated
language, the dialog and all the strings are in the source language and
not in the translated one.

BTW: this seems happen only with Processing plugins and not with default
one.

Should I open a ticket?

Thanks!

Cheers

Matteo



More information about the QGIS-Developer mailing list