[PHPTAL] Possible inconsistency in manual?

squig squig at web.de
Thu Mar 8 18:06:39 CET 2007


Hello,

I'm new to PHPTAL and first I want to say "Thank you". PHPTAL seems to 
be exactly what I'm was looking for.

Reading the manual I tried to play with i18 using gettext.
At the end of chapter 6 is the following example:

<span i18n:translate="welcome">
Welcome
<span i18n:name="name" tal:replace="user/name"/>
you currently have
<span i18n:name="n" tal:replace="user/unreadeMails"/>
unread messages !
</span>

Shouldn't it be "<span i18n:translate="string:welcome">" or "<span 
i18n:translate="">"
according to the description of i18n:translate in chapter 4?


With kind regards,


squig




More information about the PHPTAL mailing list