[Zope3-dev] Re: [ZPT] ZPT i18n feature request

Florent Guillaume fg@nuxeo.com
Fri, 13 Sep 2002 12:47:26 +0000 (UTC)


Fred L. Drake, Jr. <fdrake@acm.org> wrote:
> 
> Lalo Martins writes:
>  > I'd like to request that it is possible to give an explicit message id for
>  > translated attributes - something like:
> 
> Oh, I like this!  It is definately missing functionality from the
> current proposal/implementation.  I'm not at all sure what the syntax
> should be, though; I like having the really simple syntax to use
> implicit IDs.  How about:
> 
>  <img src="/something/pencil.png" alt="Edit (External)"
>       i18n:attributes="alt id=alt_external_edit" />
> 
> This should be fine since '=' can't appear in an attribute name
> anyway.

We can simplify that to:

  <img src="/something/pencil.png" alt="Edit (External)"
       i18n:attributes="alt=alt_external_edit" />

which is even cleaner IMHO.


Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com