cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: i18n default language
Date Thu, 18 Apr 2002 06:47:02 GMT
On Thursday 18 April 2002 08:31, Hahn Kurt (CHA) wrote:
>. . .I added my default  language to the root element, which does the trick.
> 	<page xml:lang="fr" xmlns:i18n="">

Hi Kurt,

According to the source code, the I18nTransformer uses LocaleAction.getLocale 
to define its locale, so I guess you should be able to set the default 
language in the sitemap using something like

<map:transform type="i18n">
  <map:parameter name="lang" value="fr"/>
gives more info about this.

Hope this helps!
 Bertrand Delacrétaz (,

 buzzwords: XML, java, XSLT, cocoon, mentoring/teaching/coding.
 disclaimer: eternity is very long. mostly towards the end. get ready.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message