cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <>
Subject using <i18n:attr>!!!!!!!!!!
Date Fri, 27 Dec 2002 03:43:14 GMT
Hi all,

I got this problem in using i18n:attr, i read I18n:transformer and try to
use it but it does not work!!! :( , i also try to find answers in mail
archives but the answers seem not work for me too so ...

i want to have different languages on my buttons (input type="submit") when
i changing languages on my pages although i can change the remains of the

i defined an xml file with 
<create><i18n:text i18n:key="create">Create</i18n:text></create>

in my xsl file :

i tried cases like these:
1. <input type="submit" name="create" value="create" i18n:attr="value"/>

2. <input type="submit" name="create" value="{create}" i18n:attr="value"/>

3. <input type="submit" name="create" value="create" i18n:attr="{value}"/>

but i just display 'create'!!! not Create in english and TM in VN
and when i press the button it informs errror:

Undeclared prefix in name: "i18n:attr".

description org.apache.cocoon.ProcessingException: Exception in creating
Transform Handler: org.xml.sax.SAXParseException: Undeclared prefix in name:

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet


so now i dont know how to deal with it??!!! :(
do you know how to solve it??
Thanks so much !!!

View raw message