[Qgis-developer] plugin translation
matteo.ghetta at gmail.com
Tue Mar 22 02:54:53 PDT 2016
the last week I have updated the pyqgis cookbook with the the
that should describe all the steps you described..
It seems the problem is that the strings "marked" with the tr() function
are not read by lupdate..
# mark the "Program &Locations" as translatable
self.actionProgramLocations = QAction( self.tr("&Program &Locations"),
# run lupdate
but in Qt Lingust "Program &Locations" is not there.. I also looked
inside the file with a text editor but the string isn't there either..
Am I missing something?
Thanks Matthias for your time
More information about the Qgis-developer