cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <s.gia...@thebug.it>
Subject Re: I18n translation i18n:expr
Date Mon, 17 Jul 2006 09:00:51 GMT
Hi Ard,
could you be a bit more specific? For 2.1.6 I had to patch the i18n
transformer myself to have this kind of functionality, has it been added
in a later version? Because it it hasn't I could find my patch and
commit it for next release.

Simone



Ard Schrijvers wrote:

>>Hi.
>>I need to translate part of attribute value.
>>I'm trying:
>>--- XSL part -----
>><td>
>>  <i18n:translate>
>>    <i18n:text><a
>>href="javascript:editThreshold('{$thSKey}','{{0}}');"">{1}</a>
>>    </i18n:text>
>>    <i18n:param>editar</i18n:param>
>>    <i18n:param>remover</i18n:param>
>>  </i18n:translate>
>></td>
>>------------------
>>
>>Does anyone knows if i18n transformer supports parameter substitution
>>inside attribute values?!
>>Does attribute i18n:expr helps here?! How can I use it?!
>>Thanks for any help you could provide.
>>    
>>
>
>Can you find your answer in here perhaps:
>http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/transformation/I18nTransformer.html
>
>Regards Ard
>
>  
>
>>Rui
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>
-- 
Simone Gianni

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message