Hi 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.
Regards Tim On Thu, Nov 1, 2012 at 8:14 PM, Alex Mandel <[email protected]> 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. > > Enjoy, > Alex > > On 11/01/2012 08:04 AM, Andreas Neumann wrote: >> 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 >> > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer -- 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 Skype: timlinux Irc: timlinux on #qgis at freenode.net ============================================== _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
