depub2 wrote:
Make sure that the <catalogue> element's 'location' attribute is a sitemap relative path to a directory containing your internationalization files; the 'name' attribute of the catalogue element specifies the base filename for the catalogue files in the 'location' directory..My sitemap excerpt is below, but it does not appear to be working:
<map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer"> <catalogues default="other"> <catalogue id="other" name="OtherMessages" location="messages"/> <catalogue id="forms" name="FormsMessages" location="messages"/> <location>messages</location> </catalogues> <cache-at-startup>false</cache-at-startup> </map:transformer>
I've also tried setting default="forms" - no success. What am I missing??
David
For your example there should be a messages/FormsMessages.xml file, and messages/FormsMessages_de.xml etc. for other languages.
See http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html#i18n%3Atext
Ellis.
P.S. I'm not sure that the <location> element should be there...?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
