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

Dynamic generated contentType based apps: How to i18nize a 'options' property?

XMLWordPrintable

      Tested:

      On current 6.2.2-SNAPSHOT

      Situation:

      Using in a contentType an 'options' field, here 'eventType'

          - name: eventType
            required: true
            options:
              - name: workEvent
                value: workEvent
                label: Work Event
              - name: holiday
                value: holiday
                label: Holiday
              - name: familyEvent
                value: familyEvent
                label: Family Event
              - name: other
                value: other
                label: Other
      

      Problem:

      When removing the 'label' one sees not the id the system expects for translation, but uses the 'value' of the options.

      With label:

      Without label:

      What would be the expected key? Is it translatable at all?

        Acceptance criteria

              Unassigned Unassigned
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD