[Qgis-developer] Translation plugin (accents)

Matthias Kuhn matthias at opengis.ch
Tue Aug 18 03:43:24 PDT 2015


Hi,

Can you clarify which kind of problems you are experiencing. I.e. do you
have any error messages or unexpected behavior.

Cheers
Matthias

On 08/18/2015 12:35 PM, jawensi wrote:
> Hello, I have developped a plugin in Spanish and I want to translate it to
> English. I have problems with accented words in the class that describe the
> interface, which I compilate from *.ui to *.py.
>
> This is a fragment of the .ts file, which doesn't work:
>
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE TS>
> <TS version="2.0" language="en_US" sourcelanguage="es_ES">
> <context>
>     <name>DEMto3DDialogBase</name>
>     <message>
>         <location filename="DEMto3D_dialog_base.py" line="342"/>
>         <source>Extensión a imprimir</source>
>         <translation>Print Extension</translation>
>     </message>
> </context>
> ....
>
> In the class 'DEMto3DDialogBase' show like this inside the function 'def
> retranslateUi':
> /self.groupBox_2.setTitle(_translate("DEMto3DDialogBase", u"Extensión a
> imprimir", None))/
>
> Any idea if I was missing something.
>
> Thank you.
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150818/e4ad39d6/attachment.pgp>


More information about the Qgis-developer mailing list