Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4580

Areas ignore their i18nBasename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.5.10, 5.0.2, 5.1
    • 4.5.4, 5.0
    • templating
    • Yes
    • Yes

    Description

      If we add a new area to the prototype with custom i18nBasename, the title will not be loaded on STK pages. Instead it shows the label.
      See attached screenshot with area configuration. (the area will be enabled on certain pages, eg. stkArticle)

      The same problem occurs if I want to add an area from STK to a custom component. E.g.:

      • myTeaser
        • templateScript: /module/components/myTeaser.ftl
        • i18nBasename: com.module.messages
        • title: myTeaser.title
        • areas
          • linkList
            • i18nBasename: info.magnolia.module.templatingkit.messages (manually added)
            • title: areas.components.linkList.title

      Now the title from the STK area will not show.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rkovarik Roman Kovařík
              ada Andreas Antener
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD