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

Properly support i18n on link field browse buttons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.5.7, 5.6
    • None
    • None
    • None
    • Yes
    • Kromeriz 111, Kromeriz 117
    • 5

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD