[Zope3-Users] i18n of an image

Andreas Jung lists at andreas-jung.com
Thu Oct 27 14:04:27 EDT 2005



--On 27. Oktober 2005 13:43:01 -0500 Leticia Larrosa 
<leticia at tesla.cujae.edu.cu> wrote:

> """
> Instead of:
> """
> <input name="In" type="image"
>                     value="In"
>                     src="http://localhost:8080/@@/images/BtnRefresh.gif">
> """

i18n:attributes just replaces the attributes with content from the catalog 
file.

> How can change an image depend on the user location?

how about i18n:attributes="src python: test(your_condition, 'someurl1', 
'someurl2')" ?

-aj


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20051027/77003660/attachment.bin


More information about the Zope3-users mailing list