[PHPTAL] How skipping the "string:" in i18n:translate ?
Guillaume Lecanu
Guillaume at lya.fr
Mon Apr 28 11:39:18 CEST 2008
Hi,
There is a way or a hack to skip to put "string: " each time we need to
translate something ?
I'm working only with string key like that :
<span i18n:translate="string: welcome" >Welcome to the real
world !</span>
I'm never uses a direct var in i18n:translate="", so it's a bit annoying
to each time adding "string: "
May be we can adapt the PHPTAL code to choose the default type of the
value :
$tpl->setDefaultType('i18n:translate', 'string');
This could increase the time of development.
Any ideas are welcome ;-)
-------------- section suivante --------------
Une pièce jointe HTML a été enlevée...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20080428/7cc6b83e/attachment.htm
More information about the PHPTAL
mailing list