cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Radzki" <arad...@wp.pl>
Subject RE: i18n locale in Cocoon 2.1
Date Fri, 08 Aug 2003 08:51:10 GMT
Check namespace i18n in transformed files.
Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of
http://apache.org/cocoon/i18n/2.0

ar

> -----Original Message-----
> From: Beat De Martin [mailto:beat.demartin@gmx.ch]
> Sent: Friday, August 08, 2003 10:47 AM
> To: users@cocoon.apache.org
> Subject: i18n locale in Cocoon 2.1
> 
> Hi all
> I'm using Cocoon 2.1 and I have some problem with translation
> Until Cocoon 2.0.4 I just set the session attribute locale to the
desired
> language and it worked.
> When I do this in 2.1 it doesn't seem to work. This is an excerpt from
my
> logfile:
> 
> 
> SESSION ATTRIBUTES:
> 
> PARAM: 'locale' VALUE: 'fr_CH'
> ...
> DEBUG   (2003-08-08) 10:38.54:938   [core] (/GIS/selektion_gv.html)
> Thread-17/I18nTransformer: I18nTransformer: using locale de_CH
> 
> 
> sitemap:
> 
> <map:transformer name="i18n"
> src="org.apache.cocoon.transformation.I18nTransformer" logger="core">
> 			     <catalogues default="messages">
> 			       <catalogue id="messages" name="messages"
> location="i18n/translations"/>
> 			       <catalogue id="fehler"
name="messages_fehler"
> location="i18n/translations"/>
> 			     </catalogues>
>
<untranslated-text>untranslated</untranslated-text>
> 			     <cache-at-startup>true</cache-at-startup>
> 			</map:transformer>
> 
> Cheers
> 
> 
> 
> --
> COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
> --------------------------------------------------
> 1. GMX TopMail - Platz 1 und Testsieger!
> 2. GMX ProMail - Platz 2 und Preis-Qualit├Ątssieger!
> 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8.
e-
> Post
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message