No. I have messages.xml only. If i think properly when i have no specialized message_locale.xml file general message.xml will be used - am i right? So i needn't specify locale request parameter...? When i try to use <i18n> tags in my any.xml all works good. But i want to avoid this and try to use <i18n> in transformer:
transformer pipe is: <map:generate type="serverpages" src="any.xml"/> <!-- here runs logicsheets that insert component data processed on by XSLT transformers --> <map:transform type="xslt" src="component.xsl"/> <!-- any component XSLT transformer --> <map:transform type="i18n"/> <map:serialize type="xml"/> My main idea is to transformer component.xsl insert internationalization information in XHTML like: - button labels, - comment, - help text for user in my component only. But i want to avoid insertion this information in file processed by generator and passing it on. But maybe it is better (simpler) way? ----- Original Message ----- From: "KOZLOV Roman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 2:02 PM Subject: Re: i18n in xslt > Hello, > > Do you specify request parameter "locale" with value for which > messages_<lng>.xml exists? > > Roman > > Jerzy Kut wrote: > > > Sorry - of course. But it don't helps. I paste only abbrewiated snippets > > into post. > > But thank You. > > Trouble is located somewhere in component.xslt i think, but i don't > > understand why nullpointerexception is throwed... > > > > ----- Original Message ----- > > From: "TREGAN Fabien" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, April 23, 2002 1:09 PM > > Subject: RE: i18n in xslt > > > > > not sure this will help but... > > > > > > >my-space.xsl - logicsheet processing tag for other tags > > > ><template match="my-space:component> > > > ^^^^ missing an > > " > > > here > > > > <struct> > > > > <item1>any_link</item1> > > > > <item2/> > > > > </struct> > > > ></template> > > > > > > --------------------------------------------------------------------- > > > Please check that your question has not already been answered in the > > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>