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

Allow to specify parameters to the internationalisation/bundle system

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.0 B5
    • 1.0 B4
    • {Unused} Core
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: