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

i18n: setting different defaultLocale in site definitions messes up language contexts in website authoring

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 5.2.2
    • dialogs, page editor
    • None

      If defaultLocale of a site is set to different value than defaultLocale of 'default' definition then language contexts dont work properly in Pages.

      Let's say this is the configuration in site definitions:

      • default > locales: en,de; defaultLocale : en; fallbackLocale: en
      • mysite > locales: cs,en,de; defaultLocale : cs (czech), fallbackLocale: cs

      ..then:

      • pages are always opened in english (defaultLocale of mysite is not respected)
      • dialogs are always opened in english, no matter what language page is actually edited in - it actually works like this everywhere, is this intended behaviour, not to respect current language context and always open dialog in default locale? Seems very confusing for editors.
      • if czech text of an item exists and if page is in english context, czech text is shown instead of english translation, that is also present. German translation is shown fine.

      Probably related to MAGNOLIA-3352, which seems to be fixed now - locales from site definitions are now respected, jsut defaultLocale messes things up.

        Acceptance criteria

              mgeljic Mikaël Geljić
              terihei Petr Kadlec
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD