cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37079] New: - I18N Transformer
Date Thu, 13 Oct 2005 15:19:01 GMT
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.

Mime
View raw message