Hello.

Which is the simplest way to translate following structure:

    <h1 id="title">This is test template header</h1>
        <p>Simple test</p>
        <p>this is text, and this is link: <a href="http://example.com";
title="Test title 1"><img src="image.png" alt="Test alt 1" title="Image
title 1" /></a> and more text.</p>

(Alt and Title attributes sould be translated as well).
How the PHPTAL template shoul look in this case?
My preferred way in simple cases is i18n:translate="", not using string
names.
What about i18n:attributes? There's nothing in the manual covering this
topic.

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

Reply via email to