[Cartoweb-users] Include HTML in po file

François Prunayre fx.prunayre at oieau.fr
Thu Jan 18 01:23:19 EST 2007


You're right Yves, I made changes that way. 

For instance, it could be useful in one case, having hyperlink in export pdf
output ... But it's not working for the time being.

Do you know any script to remove unused pairs in po file ?

Thanks.
Francois

-----Message d'origine-----
De : cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] De la part de Yves
Jacolin
Envoyé : mercredi 17 janvier 2007 16:29
À : cartoweb-users at lists.maptools.org
Objet : Re: [Cartoweb-users] Include HTML in po file

Le Mercredi 17 Janvier 2007 15:20, François Prunayre a écrit :
> Hi list, I would like to add HTML in po file like :
>
> msgid "geonameInfo"
> msgstr "Mes infos (<img "
> "src='locate/gfx/A.png'/>), "
>
> But this is translated into this "Mes infos (&lt;img 
> src='locate/gfx/A.png'/&gt;),"
>
> Any hint to escape HTML in po file ?
>
> Thanks for your help.
>
> Francois
Hello,

I think that you misuse the po file which is used only to translate text!
Not to fill variable with any html tags.

Maybe you can try something like add a smarty translated text in the image
insertion :
 src="{r type=gfx/layout}{t}A.png{/t}{/r}"

And so translate only the text "A.png"!

Y.

--
Yves Jacolin
---
http://yjacolin.gloobe.org

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

--
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et
rien de suspect n'a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels,
confidentiels et prives. Toute publication, utilisation ou diffusion, meme
partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal,
confidential and secret. Any total or partial publication, use or
distribution must be authorized.


-- 
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized.




More information about the Cartoweb-users mailing list