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

Reply via email to