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 <[EMAIL PROTECTED]> 02-03-2005 13:48
Please respond to
[email protected]



To [email protected] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



Reply via email to