> -----Original Message----- > From: Fernando D. Mato Mira [mailto:[EMAIL PROTECTED] > Sent: donderdag 16 maart 2006 14:43 > To: users@cocoon.apache.org > Subject: Cannot override general.field-required > > > Hi again, > > I have looked up how to override the CForms localization, > but it's now > working. > > In my subsitemap I have: > > <map:transformers default="xslt"> > <map:transformer name="i18n" > src="org.apache.cocoon.transformation.I18nTransformer"> > <catalogues default="default"> > <catalogue id="forms" name="messages"> > <location>resources/i18n</location> > > <location>resource://org/apache/cocoon/forms/system/i18n</location> > </catalogue> > <catalogue id="default" name="messages" > location="resources/i18n"/> > </catalogues> > </map:transformer> > </map:transformers> > > > In resources/i18n/messages.xml I have: > > <?xml version="1.0" encoding="UTF-8"?> > <catalogue xml:lang="en"> > <message key="general.field-required">This is a required > field</message> > </catalogue> > > > But I keep on getting the untranslated key as the message. >
It probably can't find the folder resources/i18n from the point where your sitemap is. Keep in mind that calling <location>resources/i18n</location> means it's relative to where you are. Did you check that? Jasha Joachimsthal --------- Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 [EMAIL PROTECTED] www.hippo.nl> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]