Uploaded image for project: 'Magnolia Multisite Module'
  1. Magnolia Multisite Module
  2. MULTISITE-10

Implement I18nAuthoringSupport so that we can get available locales for a node

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Labels:
    • Magnolia Release:
      5.2.1

      Description

      When editing a page or opening a component dialog, we need to know what are the available locales for this page/area/component node.

      Since this is happening in Vaadin UIDL requests, we can no longer rely on aggregation state that is populated by MultiSiteFilter when rendering a page.

      It was decided to introduce a getAvailableLocales(Node) method on i18nAuthoringSupport interface; multisite module should now implement it and update configuration so that i18nContentSupport is resolved according to site definitions.

      SiteManager already has a utility method: getAssignedSite(Node).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mgeljic Mikaël Geljić
              Reporter:
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: