[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    [jira] Created: (COCOON-2057) I18n transformer doesn't substitute
From:       "Andreas Hartmann (JIRA)" <jira () apache ! org>
Date:       2007-04-30 10:13:15
Message-ID: 20629581.1177927995610.JavaMail.jira () brutus
[Download RAW message or body]

I18n transformer doesn't substitute params within attribute values
------------------------------------------------------------------

                 Key: COCOON-2057
                 URL: https://issues.apache.org/jira/browse/COCOON-2057
             Project: Cocoon
          Issue Type: Bug
          Components: * Cocoon Core
    Affects Versions: 2.1.11-dev (Current SVN)
            Reporter: Andreas Hartmann
            Priority: Minor


The i18n transformer doesn't replace parameters within attribute values in messages:

<message key="link">
  <xhtml:a href="{0}">{1}</xhtml:a>
</message>

<i18n:translate>
  <i18n:text>link</i18n:text>
  <i18n:param>http://test.com</i18n:param>
  <i18n:param>Link name</i18n:param>
</i18n:translate>

results in

<xhtml:a href="{0}">Link name</xhtml:a>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic