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 ;-)
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to