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

        1. internat-20070214.diff.patch
          5 kB
          Arnaud Thimel
        2. internat-20070215.diff.patch
          8 kB
          Arnaud Thimel
        3. internat-20070215-2.diff.patch
          7 kB
          Arnaud Thimel

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: