[Zope3-Users] Re: PT, i18n and dynamic attributes...how to?

Alex Furlong alex.furlong at gmx.de
Fri Feb 2 07:00:16 EST 2007


>I admit that I might be just too dumb to see the obvious

Perhaps a little lazy to read! :)

Case 4:

 <p i18n:translate="mysite_more_plone_info">Please visit 
          <span i18n:name="about-plone">
            <a href="about"
               i18n:translate="mysite_about_plone">About Plone</a>
          </span> for more information.
 </p>

msgid "mysite_more_plone_info"
msgstr "Please visit ${about-plone} for more information."

msgid "mysite_about_plone"
msgstr "About Plone"

You just have to use tal:attributes="href ..." in the 'a' tag...

Bye

Alex

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the Zope3-users mailing list