Konstantin, thank you for the reply.

Problem: bug of i18n in Cocoon 2.0.1 related to "untranslated-text" because of
keys divided by parser.
Suggested workaround (not confirmed):
It seems that using "concat" function for concatenation of empty string and a
key in construction like <i18n:text><xsl:value-of
select="concat('',LABEL)"/></i18n:text> helps to avoid such a key dividing.

Solution: upgrade of Cocoon 2.0.1 up to fixed CVS version (see below).

Piroumian Konstantin wrote:

> > From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
> > > From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
> ...
> > > Could someone, who is more familiar with these issues confirm
> > > that this
> > > workaround could help to avoid the bug or it just decrease
> > probability
> > > of keys dividing?
> >
> > Just get the newer version. There were some other changes
> > since 2.0, but you
> > can use the CVS revision history to get the needed version.
> > (I'd point you
> > to the needed version, but have problems accessing CVS currently).

> Here is the link to the fixed version:
> http://63.251.56.143/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/tran
> sformation/I18nTransformer.java?rev=1.12&content-type=text/vnd.viewcvs-marku
> p
>
> >
> > Konstantin
> >
> > >
> > > Thank you in advance,
> > > Roman
> > >


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to