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

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.2.6, 5.3.1
    • Fix Version/s: 5.2.7, 5.3.2
    • Component/s: None
    • Labels:
    • Magnolia Release:
      5.2.6, 5.3.2

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: