[Qgis-developer] python plugin translations

Alex Mandel tech_dev at wildintellect.com
Thu Apr 23 12:32:04 EDT 2009


Jürgen E. Fischer wrote:
> Hi there,
> 
> I found that the translation strings in the python plugins (namely
> fTools) were incomplete.
> 
> In r10633 I added a loop to update_ts_files.sh that runs pylupdate4 over
> each plugin and translates the resulting .ts file to C to replace the
> handcrafted i18n.cpp files (the original i18n.cpps are still in the
> repository).
> 
> I already updated the german translation accordingly.  What about the
> others?
> 
> 
> Jürgen
> 
> PS: unfortunately I'm off for the rest of the evening.
> 

I asked briefly on IRC the other day if there was a "how to" for
including translation strings in a plugin, but no one seemed to know of
such a thing. I'd like to allow for translation of my plugin but I'm not
sure where to start.

Any hints,
Alex


More information about the Qgis-developer mailing list