[PHPTAL] i18n:translate on an attribute ?
Guillaume Lecanu
Guillaume at lya.fr
Mon Apr 28 11:33:02 CEST 2008
Le lundi 28 avril 2008 à 10:08 +0200, Christoph Frick a écrit :
> On Sat, Apr 26, 2008 at 07:44:26PM +0200, Iván -DrSlump- Montes wrote:
>
> > Does something like the following work?
> >
> > <tal:block tal:define="global submitMsg">
> > <div i18n:translate="submit" />
> > </tal:block>
> > <input type="submit" name="submit" tal:attributes="value submitMsg" />
>
> or easier:
>
> <input type="submit" name="submit" value="Go Submit It" i18n:attributes="value" />
yeahh ! it's perfect !!
Thanks a lots Christoph :-)
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� enlev�e...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20080428/1e2d99bd/attachment.htm
More information about the PHPTAL
mailing list