Yes you're right - layer labels are in server.PROJECT.fr.po
Thanks. Francois 

-----Message d'origine-----
De : oliver.christen [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 27 février 2006 19:53
À : François Prunayre; [email protected]
Objet : Re: [Cartoweb-users] Layer label with special characters

mmm, the layers labels should be translated at the php level. You dont have
to add the {t} {t/} for these.
Are you sure gettext is installed correctly? If you are using Linux you can
run the check scripts testgettext.sh and testgettext.php in scripts/ .
And also check that the .po and .mo are generated correctly (do a grep in
them to see if the translated string are inside).
And dont forget to make a --clean to remove cache files

regards,
Oliver

> Thanks for your proposal. If I want to use the 2nd suggestion, I have 
> to modify the template for the "layers" plugin and modify because 
> {$element.layerLabel} would not return the translation for the layer 
> label ?
>
> {t}{$element.layerLabel}{/t} would work ?
>
> As the "Layers" plugin is a core one, I would prefer to get this 
> functionnality in the cvs version if it's not yet instead of creating 
> my own plugin.
>
> Regards. Francois
>
> -----Message d'origine-----
> De : oliver [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 27 février 2006 16:42
> À : [email protected]; François Prunayre Objet : Re: 
> [Cartoweb-users] Layer label with special characters
>
> you could also use the internationalisation system (.po files) to 
> replace the overlong label on the fly and only keep the minimal info 
> in the layers.ini see 
> http://www.cartoweb.org/doc/cw3.2/xhtml/user.i18n.html#user.i18n.trans
> lation
> s.template
>
> Regards,
> Oliver
>
>
>
>> On Mon, 27 Feb 2006 16:28:27 +0100
>> François Prunayre <[EMAIL PROTECTED]> wrote:
>>
>> Hi François,
>>
>>> Hi list, is there any way to put "(" for layer labels in layers.ini
>>
>> Just use quotes around your label in the layers.ini, as above example:
>> layers.clc.label = "Your clc label (foo)"
>>
>> HTH,
>>
>> --
>> Olivier Courtin  -  Concepteur SI/SIG - Analyste Camptocamp France 
>> SAS Savoie Technolac, BP 352, 73377 Le Bourget du Lac Tel : 04 79 44 
>> 44 92
>> - Mail : <[EMAIL PROTECTED]>
>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> [email protected]
>> 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.
>
>
> 


--
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.


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to