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

Static list values are not properly localized in an AWM application

    Details

    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The localization bundle is set by AWM using $services.localization.use() and it seems that $doc.display() does not benefit of the localization bundle. This is not visible on a unilingual application because AWM also set the translation directly in the class definition.

      To easily reproduce:
      1) Create an AWM application with a select static list field, and also display it in the livetable
      2) edit the class manually to remove the translation in the static list value definition
      3) both in the sheet and the livetable, the translation are not applied properly on the static list value

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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