cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim Jelmoni <...@otego.com>
Subject Re: i18n again!!!!
Date Tue, 14 Jan 2003 07:56:04 GMT

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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message