Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5881

I18n not working for OptionListDefinition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Done
    • Affects Version/s: 6.2
    • Fix Version/s: 6.2.3
    • Component/s: None
    • Labels:

      Description

      Having the following combo box field, it doesn't get the i18n values from the i18n properties file:

      form:
        properties:
          comboSelect:
            label: Prefix
            $type: comboBoxField
            datasource:
              $type: optionListDatasource
              options:
                - name: MRName
                  value: mr
                  label: test.myCustomLabel.mr
                - name: MRSName
                  value: mrs
                  label: test.myCustomLabel.ms

      Property file defined on {/test/src/main/resources/test/i18n/module-test-messages_en.properties}} contains the keys and values.

      It doesn't work even trying:

      • comboSelect.datasource.options.mr= Mr
      • comboSelect.options.mr= Mr

      In Magnolia 5.7.6 all the options mentioned above are working properly.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rkovarik Roman Kovařík
                Reporter:
                ccantalapiedra Carlos Cantalapiedra
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD

                      Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 2h 1m
                      2h 1m