You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Linden H van der (MI)" <H....@MI.unimaas.nl> on 2005/03/12 19:01:51 UTC
CForms samples for 2.1.7 - i18n question
Hi,
I've managed to get the i18n for the flowscript samples to work, by
moving around the i18n transformer. However, I haven't succeeded in
properly translating i18n info that is introduced in the
forms-*-styling.xsl files. It seems impossible to add the i18n
transformer a second time.
So, what to do?
Bye, Helma
Re: CForms samples for 2.1.7 - i18n question
Posted by Sylvain Wallez <sy...@apache.org>.
Linden H van der (MI) wrote:
>Hi,
>
>I've managed to get the i18n for the flowscript samples to work, by
>moving around the i18n transformer. However, I haven't succeeded in
>properly translating i18n info that is introduced in the
>forms-*-styling.xsl files. It seems impossible to add the i18n
>transformer a second time.
>
>
Why is it impossible? What problem do you encounter?
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Re: CForms samples for 2.1.7 - i18n question
Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 12 mars 05, à 19:01, Linden H van der (MI) a écrit :
> ...I've managed to get the i18n for the flowscript samples to work, by
> moving around the i18n transformer. However, I haven't succeeded in
> properly translating i18n info that is introduced in the
> forms-*-styling.xsl files. It seems impossible to add the i18n
> transformer a second time...
Why not twice? I think you need to use it twice, IIRC because the
forms-styling stuff eats the i18n namespace:
I've been doing stuff like
<map:generate type="jx" src="template.xml"/>
<map:transform type="i18n"/>
<map:transform src="form-styling.xsl">
<map:transform src="layout.xsl"/>
<map:transform type="i18n"/>
<map:serialize type="html"/>
-Bertrand