cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <hgd...@sdcgrp.com>
Subject RE: i18n and xmlform action
Date Fri, 06 Dec 2002 09:32:31 GMT
Sorry, I also use the bold like this but it does not work :
<href>wizard?cocoon-action-start=true&amp;locale=en</href>

 
 
-----Original Message-----
From: Hong Gia Dinh 
Sent: 06 December 2002 15:59
To: cocoon-dev@xml.apache.org
Subject: i18n and xmlform action



Hi all 

i think i did stupid thing! 
i tried to apply i18n into my xmlforms 
but it can not understand the messages in the directory , it can not change
into other language 

because in the link changing language (the bold lines), i am not sure and i
dont know if i declare correctly the following :

<menu> 
        <lang> 
                <href>wizard?cocoon-action-start=true?locale=en</href> 
                <title>English</title> 
        </lang> 
        <lang> 
                <href>wizard?cocoon-action-start=true?locale=vi</href> 
                <title>Vietnam</title> 
        </lang> 
</menu> 

in the sitemap i declare : 
(when i separate the form and i18n, they work separately very well but when
i combine like this, it just do the form action not the i18n)



                        <map:act type="locale">         
                                <map:match pattern="*"> 
                                        <map:act type="WizardAction"> 
                                                <map:parameter
name="xmlform-validator-schema-ns" value="
http://www.ascc.net/xml/schematron <http://www.ascc.net/xml/schematron> "/>

                                                <map:parameter
name="xmlform-validator-schema" value="wizard/validate.xml"/>

                                                <map:parameter
name="xmlform-id" value="form-feedback"/> 
                                                <map:parameter
name="xmlform-scope" value="session"/> 
                                                <map:parameter
name="xmlform-model


Mime
View raw message