Hello again,

I've found some small typos in the manual:

4.1. i18n:translate, last code example:
<div tal:define="welcome random_welcome_message"/>
<did i18n:translate="welcome">...</div>

should be:
<div tal:define="welcome random_welcome_message"/>
<div i18n:translate="welcome">...</div>

did => div


6.4. PHP usage in PHPTAL

// register gettext domain to use
$tr->addDomain('mydomain', '/path/to/your/translation_root/');

should be:
// register gettext domain to use
$tr->addDomain('mydomain', '/path/to/your/translation_root');
(no trailing slash)
Maybe PHPTAL should carry this issue too.

And some spelling typos like:
uggly
beautyfull

-- 
regards,
takeshin
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to