On 11.03.2008, at 08:45, Joan Pascual wrote:

I'm using 18n translation in Cocoon 2.1.9.

I want to translate an attribute value. We can do that using i18:attr attribute, but we have a message with params and we don't know how to translate it.

It is possible to translate an attribute value using param substitution?

According to [1] it is not possible. For a workaround you could place the param substitution into an element and run a XSLT Transformer after the i18n transformer in the pipeline which changes the element to an attribute.

Sorry but I have no better idea, Alex

[1] http://cocoon.apache.org/2.1/userdocs/i18nTransformer.html


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

Reply via email to