[Cartoweb-users] How to translate title and alt attribute fromtoolbar.tpl

Oliver Christen oliver.christen at camptocamp.com
Wed Nov 14 02:43:47 EST 2007


Hi

indeed, the client2pot script dont see the toolbar dynamic tool name.
thats a limitation of the script and we never bothered looking that out.

simply put the related tool names string manualy in the .po files.

regards
Oliver

> Hi all,
>
> I'm looking for a howto manage the translation about the alt and title 
> attribute behind icon issue from the toolbar.tpl
>
> apparently when we debug inside client2pot.php scripts the $matches it 
> never returns the different
>
> alt="{t}{$tool->id}{/t}" or title="{t}{$tool->id}{/t}"
>
> What I think is that the {$tool->id} confuse all smartygettext and so, if 
> i put just a simple string like {t}test me
> translate{/t} it goes correctly to client.mo
>
> As be try with cw3.3 & cw3.4 (scripts are obviously the same)
>
> How did cartoweb online demo working or the 
> http://www.geo.fr.ch/index.php?lang=de
>
> Argh, any ideas where to look about would be nice.
>
>
> -- 
>
>     Bruno Friedmann  bruno at ioda-net.ch
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list