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

Provide templating functions to i18nize links

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Neutral
    • 5.4.1
    • None
    • templating
    • None
    • Yes
    • Sprint 2 (Basel)
    • 1

    Description

      Pre 5.4 work was done on i18n templating functions. These would be a good addition to MTE and would actually provide the solution for MGNLDEMO-67.

      Instead of exposing the info.magnolia.cms.i18n.I18nContentSupport in the info.magnolia.templating.functions.TemplatingFunctions we're only going to provide a method to return a list of localized links, e.g. /travel.html:

      "en": "/travel.html"
      "de_CH": "/de_CH/travel.html"
      

      Known limitations

      Travel demo makes heavy use of URI2RepositoryMapping in combination with VirtualURIMapping for tour links. These use forwards and currently cannot be i18nized.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 3h Original Estimate - 3h
                    3h
                    Remaining:
                    Time Spent - 1.25d Remaining Estimate - 1h
                    1h
                    Logged:
                    Time Spent - 1.25d Remaining Estimate - 1h
                    1.25d