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

Properly support i18n on link field browse buttons

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.7, 5.6
    • Component/s: None
    • Labels:
      None
    • Documentation update required:
      Yes
    • Sprint:
      Kromeriz 111, Kromeriz 117
    • Story Points:
      5
    • Magnolia Release:
      5.5.7, 5.6

      Description

      Because LinkFieldFactory uses the deprecated #getMessage method for translating buttonSelectNewLabel, custom i18n messages are not picked up properly.

      Currently, those labels are just hard-coded in English.

      Possible workarounds

      • The high road: Fix LinkFieldFactory in UI and make it use a proper I18nizer
      • Workaround without touching UI: Use i18nBasename on individual fields to make our messages file visible to the legacy i18n mechanism

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                efochr Evzen Fochr
                Reporter:
                creichenbach Cedric Reichenbach
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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