Hi, If some of you would have some tips for these two questions, I would be very grateful:
1°) Under Cocoon 2.0.4 and Windows 2000: I use a i18n Transformer (with french and english dictionnaries), and all's working fine with elements' translation. But not for attributes. I have basicaly a HTML form with a submit button. As described in the Cocoon's doc, I write the following in my stylesheet to be translated: <input TYPE="submit" NAME="submit" i18n:attr="value"/> and in my French dictionary: <message key="value">Soumettre la requête</message> in my English dictionary: <message key="value">Submit the request</message> WHen I call http://localhost:8080/cocoon/tutoriel?locale=fr, I can see the correct value of the button, ie: 'Soumettre la requête'. But when I call english translation with http://localhost:8080/cocoon/tutoriel?locale=en, I still obtain the same french message, although I've specified the english version for this button's value in the english dictionary. Could it have to handle with the xerces's bug described in the doc?? 2°) In my styleshhet, I've got a second hidden input area. For each one, I have to use i18n:attr="value" in the sitemap and <message key="value">Some text</message> in the dictionary, I want to internationalise both (That's I want to do precisely...). So, Is it possible to make a difference between them? <FORM METHOD="GET" ACTION=""> <b><i18n:text>choix</i18n:text></b> <a href="?locale=fr"><i18n:text>choix_langue_fr</i18n:text></a> | <a href="?locale=en"><i18n:text>choix_langue_en</i18n:text></a> <input type="hidden" name="locale" value="fr"/> //First attribute value to internationalise => fr in french and en in english <fieldset class="etiquette" style="padding: 10px; font-weight:bold; font-family:'Comic Sans MS'; color: #1E94D3 ; border: outset 5px;"> <legend><i18n:text>trier</i18n:text></legend> <input TYPE="radio" NAME="tri" VALUE="nom"><i18n:text>boutonNom</i18n:text></input> <input TYPE="radio" NAME="tri" VALUE="prénom"><i18n:text>boutonPrenom</i18n:text></input> <input TYPE="radio" NAME="tri" VALUE="titre"><i18n:text>boutonTitre</i18n:text></input> <input TYPE="radio" NAME="tri" VALUE="organisme"><i18n:text>boutonOrganisme</i18n:text></input> </fieldset> <br/> <input TYPE="submit" NAME="submit" i18n:attr="value"/> //Second attribute ton internationalise: Soumettre la requête in French Submit the request in English </FORM> thanks in advance for your repsnses, Best, Cyril. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>