Thanks to all of you for your help and suggestions.
It will help me get started.
Andreas
On Thu, 01 Nov 2012 16:45:38 +0100, Bernhard Ströbl wrote:
Hi Andreas,
I use Eric Python IDE for my plugins which takes care of my
translations by scanning alle source files in the project for code
that needs to be translated. You can start QtLinguist from the eric
project.
I use <code>QtGui.QApplication.translate("yourContext",
"yourTextToTranslate", None, QtGui.QApplication.UnicodeUTF8)</code>
which is exacly what pyuic creates from QtDesigner's ui files (no
idea
if this is good but it works :)
Bernhard
Am 01.11.2012 16:04, schrieb Andreas Neumann:
Hi,
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
using?
* 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,
Andreas
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
__________ Information from ESET Mail Security, version of virus
signature database 7649 (20121101) __________
The message was checked by ESET Mail Security.
http://www.eset.com
--
Bernhard Ströbl
Anwendungsbetreuer GIS
Kommunale Immobilien Jena
Am Anger 26
07743 Jena
Tel.: 03641 49- 5190
E-Mail: [email protected]
Internet: www.kij.de
Kommunale Immobilien Jena
Eigenbetrieb der Stadt Jena
Werkleiter: Dr. Götz Blankenburg
__________ Information from ESET Mail Security, version of virus
signature database 7649 (20121101) __________
The message was checked by ESET Mail Security.
http://www.eset.com
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer