[Qgis-developer] Multilanguage plugin development
lists at linfiniti.com
Thu Nov 1 13:04:53 PDT 2012
InaSAFE is also fully multilingual with an additional bit of work
because we support both nattive python (using gettext) and Qt
translations. http://inasafe.org for links to source etc.
On Thu, Nov 1, 2012 at 8:14 PM, Alex Mandel <tech_dev at wildintellect.com> wrote:
> 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
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Irc: timlinux on #qgis at freenode.net
More information about the Qgis-developer