[Qgis-developer] Re: [Qgis-community-team] GUI translation

Martin Dobias wonder.sk at gmail.com
Sat Mar 20 08:20:49 EDT 2010


On Sat, Mar 20, 2010 at 12:54 PM, Borys Jurgiel <borysiasty at aster.pl> wrote:
> Dnia sobota, 20 marca 2010 o 12:39:47 Martin Dobias napisał(a):
>> maybe I'm missing something, but isn't pylupdate4 utility there for
>> extracting the translatable strings from python sources?
>
> There is, of course. I only mean that someone has to prior choose plugins
> which won't make a mess in the ts files.
>
> For translators it is essential to know where each string comes from (at least
> from which plugin). QtLinguist uses class names for grouping strings into so
> called "contexts". It works perfectly as long class names are unique and
> meaningful, as QgsPluginNameDialogName.

Ok, but isn't it easy to generate translation files per plugin? So the
translators will
have the contexts naturally split from the other strings. Each plugin
would install
its own translations...

Martin


More information about the Qgis-developer mailing list