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

Provide method to get the default locale for a specific node in I18NAuthoringSupport

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.2.7, 5.3.2
    • 5.2.6, 5.3.1
    • None

      It is currently not possible to get a node-specific default Locale from I18nContentSupport outside of the AggregationState (i.e. in the PageEditor/UI) without having a dependency to STK (to access the SiteManager).

      We should add a public method to DefaultI18NAuthoringSupport to access the default, configured Locale:

      public Locale getDefaultLocale(Node node)
      

      To not break the API and maintain binary compatibility the method should be added to info.magnolia.ui.api.i18n.I18NAuthoringSupport only in a major release (see MGNLUI-3068).

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD