Hi, add the i18n transformer to your pipe after the woody transformer and don't forget to add the transformer deklaration to your sitemap components. At last you have to create a xml file with the error messages.
Look at the woody examples under "samples/woody/". EXAMPLE sitemap: <map:components> <map:transformer logger="sitemap.transformer.i18n" name="i18n" pool-grow="5" pool-min="50" pool-max="150" src="org.apache.cocoon.transformation.I18nTransformer"> <catalogues default="woody"> <catalogue id="woody" name="[messages file name]" location="[path to your message file]"/> </catalogues> <cache-at-startup>true</cache-at-startup> </map:transformer> </map:components> <map:match pattern="form-display"> <map:generate type="file" src="resources/forms/templates/test.template"/> <map:transform type="woody"/> <map:transform type="i18n"> <map:parameter name="locale" value="en-US"/> </map:transform> <map:transform type="xsltc" src="stylesheets/woody.xsl"/> <map:serialize type="html"/> </map:match> xml file with messages: <?xml version="1.0" encoding="ISO-8859-1"?> <catalogue> <message key="general.field-required">This field is required.</message> </catalogue> Greetings :-) Markus -----Ursprungliche Nachricht----- Von: Marcin Okraszewski Gesendet: Mittwoch, 17. Dezember 2003 22:28 An: [EMAIL PROTECTED] Betreff: [Woody Validation] "general.field-required" - how to change it? Hi, How to change default error message when a field is required ("general.field-required")? Regards, Marcin Okraszewski --------------------------------------------------------------------- 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]