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
