You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/10/13 17:19:01 UTC
DO NOT REPLY [Bug 37079] New: -
I18N Transformer
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37079>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37079
Summary: I18N Transformer
Product: Cocoon 2
Version: 2.1.6
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: thomas@anyware-tech.com
I am using the <i18n:translate> function in order to have a translated message
with parameters.
I would like my parameters to be internationalized so I use the following syntax :
<i18n:translate>
<i18n:text i18n:key="myKey">My default value with this parameter {0}</i18n:text>
<i18n:param><i18n:text i18:key="myParamKey">My param default
value</i18n:text></i18n:param>
</i18n:translate>
The problem is that the element <i18n:text i18n:key="myParamKey">My param
default value</i18n:text> does not work into the <i18n:param> tag. Instead I
have to use the following syntax :
<i18:text>myParamKey</i18n:text>
This way forces me to have 'myParamKey' as default value for my parameter and
not 'My param default value'.
So my question is : why does the first syntax does not work into the
<i18n:param> tag ? Is this a bug ? If yes, will it be corrected ?
Thanks.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.