Re: Coming changes in page templates

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.internationalization,gmane.comp.web.zope.page-templates
Organization Zope Corporation
Message-ID <[email protected]>
Florent Guillaume wrote:
> In article <[email protected]> you write:
> 
>> > +1, since we noticed this need at the pycon sprint . :-)
>>
>>I figured that's where Jim came up with the new syntax.  ;-)
> 
> 
> Back in September I proposed
>     <img src="/something/pencil.png" alt="Edit (External)"
>          i18n:attributes="alt=alt_external_edit" />
> 
> (see http://mail.zope.org/pipermail/zope3-dev/2002-September/002801.html)

Oops, sorry we missed that.

> which has the advantage of being backward-compatible,

When considering this issue, I grepped through the latest
Plone release for all uses of i18n:attribute and found
no cases with multiple attrs. I came to the conclusion, therefore,
that, in practice, there wasn't an issue.

 > but it's true that
> Jim's syntax is more in line with the rest of ZPT.

Yup. :)

Jim


-- 
Jim Fulton           mailto:[email protected]       Python Powered!
CTO                  (703) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.