[Yanel-dev] [Bug 6050] New: allow i18n parameter substitution

bugzilla at wyona.com bugzilla at wyona.com
Fri Feb 29 14:10:10 CET 2008


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=6050

           Summary: allow i18n parameter substitution
           Product: Yanel
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: i18n
        AssignedTo: michael.wechner at wyona.org
        ReportedBy: josias.thoeny at wyona.org
         QAContact: yanel-development at wyona.com


The i18n transformer should support parameter substitution:

 <i18n:translate>
   <i18n:text key="registeredUsers"/>
   <i18n:param>7</i18n:param>
 </i18n:translate>

 <message key="registeredUsers">
   <text language="de">Es sind {0} Benutzer registriert</text>
   <text language="en">{0} users are registered</text>
 </message>

This will result to:
Es sind 7 Benutzer registriert
7 users are registered


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list