<
href>wizard?cocoon-action-start=true&locale=en</href>From: Hong Gia Dinh
Sent: 06 December 2002 15:59
To: [EMAIL PROTECTED]
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 languagebecause 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"/><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