[Qgis-developer] Multilanguage plugin development
tech_dev at wildintellect.com
Thu Nov 1 11:14:18 PDT 2012
My super old Metaedit plugin demonstrates how to do multi-lingual. I
believe we partially translated it into 2-3 languages.
As others said, changing all your Qt Strings to be wrapped with the .tr
then allows you to generate a file for Qt Linguist.
On 11/01/2012 08:04 AM, Andreas Neumann wrote:
> I need to make a german-only QGIS Python-Plugin dual language
> (german/french). I have never done this before.
> The GUI is partially defined with .ui-files, but also from within the
> Python code.
> My questions:
> * are there existing multilanguage python plugins that I can use as a
> good example?
> * How can I detect from python which language the QGIS main interface is
> * I think for the .ui files the translation process is more or less
> straightforward - but what is the best way to store multi-language ui
> information if the ui is built from Python code?
> Thank you for your help or examples to get started,
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
More information about the Qgis-developer