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=30104>. 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=30104 I18nTransformer: translation with param substitution Summary: I18nTransformer: translation with param substitution Product: Cocoon 2 Version: Current CVS 2.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] There is a different behaviour for substituting params inside i18n:translate when using <i18n:text>key</i18n:text> or <i18n:text key="key"/> inside i18n:param. The latter one fails. The reason is the overwriting of the parameterized text recorder in line 1239 with the text recorder for the param key="key", while the version <i18n:text>key</i18n:text> is not handled here. It can be simply reproduced with a sample from i18n samples simple.xml and a modified version of it: This works: <i18n:translate> <i18n:text key="Hello"/> <i18n:param><i18n:text>Kot</i18n:text></i18n:param> </i18n:translate> This one does not: <i18n:translate> <i18n:text key="Hello"/> <i18n:param><i18n:text key="Kot"/></i18n:param> </i18n:translate> Joerg
