you can for example:

in xml :

<?xml version="1.0" encoding="UTF-8"?>

<imageheader xmlns:i18n="http://apache.org/cocoon/i18n/2.0";>
  <topmenu name="HEADER_CHLOCALE_G" i18n:attr="name"
target="groups.html?locale=de_CH" height="7" width="10"/>
  <topmenu name="HEADER_CHLOCALE_F" i18n:attr="name"
target="groups.html?locale=fr_CH" height="7" width="11"/>
  <topmenu name="HEADER_CHLOCALE_E" i18n:attr="name"
target="groups.html?locale=en_CH" height="7" width="11"/>
</imageheader>

and in message catalog file :

<message key="HEADER_CHLOCALE_G">images/de.gif</message>


On Tue, 2003-01-14 at 04:57, Hong Gia Dinh wrote:
> Hi all,
> I know that we can change language from text, button, attribute ....
> now if i want to change image according to languages!!! because some
> of my images having the text on it!! how can i do that?? with cocoon
> 2.0.3 ??
> because i cant use <i18n:when> in cocoon 2.0.3 how can i change image
> as well as i change the text ....
>  
> Thanks a lot
> GD


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to