With a different name it still doesn't work.

-----Original Message-----
From: Jasha Joachimsthal [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 16, 2006 5:10 PM
To: [email protected]
Subject: RE: Cannot override general.field-required

It may sound weird but I get the same error when I put the translation
in the folder named 'i18n'. When I rename it to something different it
does work.

Jasha Joachimsthal

---------

Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466 

[EMAIL PROTECTED]
www.hippo.nl


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: donderdag 16 maart 2006 16:53
> To: [email protected]
> Subject: RE: Cannot override general.field-required
> 
> 
> Yes, the resources directory is right in the directory where this
> sitemap is.
> 
> -----Original Message-----
> From: Jasha Joachimsthal [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 16, 2006 4:37 PM
> To: [email protected]
> Subject: RE: Cannot override general.field-required
> 
> > -----Original Message-----
> > From: Fernando D. Mato Mira [mailto:[EMAIL PROTECTED]
> > Sent: donderdag 16 maart 2006 14:43
> > To: [email protected]
> > 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]
> 
> 
> ---------------------------------------------------------------------
> 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]


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

Reply via email to