Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-797

Let I18nContentSupport determine the locale from lang parameter

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.0.0
    • None
    • None
    • None
    • Yes

      REST module handles localization by parsing lang parameter from the incoming request. It incorrectly translates _ to - for IETF based language tags.

      Since we introduced full support of IETF in Magnolia (MAGNOLIA-8709), we need to adjust how locales are parsed in REST module. I18nContentSupport introduces new API for determining locale from string and so this API needs to be used in REST module to correctly parse lang param.

        Acceptance criteria

              Unassigned Unassigned
              jsimak Jaroslav Simak
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Task DoR