Yeah, it really feels like magic :)) Get the book by Kent Tong, it has a
fabulous chapter on internationalization. And many other wonderful
chapters too. Just in case you don't know where to find it:

http://www.agileskills2.org/EWDT/

Also, my tutorials are a work in progress:

http://www.devshed.com/c/b/Apache/

They didn't come to i18n yet though.

-----Original Message-----
From: Malin Ljungh [mailto:[EMAIL PROTECTED] 
Sent: 20 June 2007 18:41
To: Tapestry users
Subject: Re: T4: Localization of image assets


Wooohooo! I works! Like magic :D

I love Tapestry but many many things seems like a secret to me. Is there
any documentation I've missed?

Thanks a million to you Alexander :)

Malin


2007/6/20, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]>:
>
> Just have two versions of the image, say, flag.gif for the default and

> flag_es.gif for Spanish etc. Define it as
>
> <asset name="flag" path="context:/images/flag.gif"/>
>
> Tapestry will pick the correct localized image automatically.
>
> -----Original Message-----
> From: Malin Ljungh [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2007 10:19
> To: Tapestry users
> Subject: T4: Localization of image assets
>
>
> This seems like the easiest example but I just can't find any 
> documention of how to do it.
>
> I have a localized Tapestry 4 app. Localization of text (messages) 
> works great! But - how do I handle the images?
>
> I have @Image components and <asset>s but how do I get them to 
> automatically select the right image depending of the current locale?
>
> I'd be truly greatful I you help me :)
> Malin
>
>
> ----------------------------------------------------------------------
> --------
> CONFIDENTIALITY NOTICE: If you have received this email in error,
please
> immediately notify the sender by e-mail at the address shown.  This
email
> transmission may contain confidential information.  This information
is
> intended only for the use of the individual(s) or entity to whom it is
> intended even if addressed incorrectly.  Please delete it from your
files if
> you are not the intended recipient.  Thank you for your
> compliance.  Copyright 2007 CIGNA
>
> ======================================================================
> ========
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==============================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to