Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-859

Allow to specify parameters to the internationalisation/bundle system

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B4
    • Fix Version/s: 1.0 B5
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      We need to pass parameters to a translation.

      Exemple:
      In the bundle document :
      key=We have

      {0}

      new documents with

      {1}

      objects

      In the wiki document :
      $msg.get("key", "12", "3")
      will render
      We have 12 new documents with 3 objects

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              thimel Arnaud Thimel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: