cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: i18n transformer problems
Date Thu, 03 Mar 2005 14:00:42 GMT
This was just brought up on dev@, maybe it is relevant to your problem 
as well.

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=110985516810052&w=2 ?

Gunter D'Hondt wrote:
> nobody any idea for my i18n problem?
> 
> anything is welcome!
> Gunter
>  
> 
> 
> 
> Gunter D'Hondt <gunter.dhondt@sofico.be> 
> 02-03-2005 13:48
> Please respond to
> users@cocoon.apache.org
> 
> 
> To
> users@cocoon.apache.org
> cc
> 
> Subject
> i18n transformer problems
> 
> 
> 
> 
> 
> 
> Hi,
> 
> I've got the following transformer-configuration:
>       <map:transformer name="i18n" 
> src="org.apache.cocoon.transformation.I18nTransformer">
>         <catalogues default="mysystem">
>           <catalogue id="mysystem" name="textmessages" 
> location="context://config"/>
>           <catalogue id="woody" name="validationmessages" 
> location="context://config"/>
>           <cache-at-startup>false</cache-at-startup>
>         </catalogues>
>       </map:transformer>
> 
> and I'm calling the transformer with:
>       <map:transform type="i18n">
>          <map:parameter name="locale" value="nl_BE"/>
>       </map:transform>
> 
> in my config-folder I've only got textmessages.xml and 
> validationmessages.xml (so no textmessages_nl_BE.xml) so as the 
> documentation says it will first look for a catalogue with the locale in 
> the filename and if not found it will look for the textmessages.xml. 
> 
> With this I've got 2 problems:
> 1) why does it always generate an error inside the error logging:
> org.apache.excalibur.source.SourceNotFoundException: 
> file:/M:/Site/config/textmessages_nl_BE.xml doesn't exist.
> 2) changing to the textmessages catalogue (textmessages.xml) are not 
> dynamically reloaded and always requires a server-restart
> 
> Any help is welcome,
> 
> Regards,
> Gunter D'Hondt
> 
> ---------------------------------------------------------------------
> 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