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

Details

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

    Description

      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).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD