Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Accept-Language: cs-CZ,cs;q=0.9,en-US;q=0.8,en;q=0.7

A site in Magnolia may be configured to reflect In Magnolia the locale information provided in the Accept-Language header ,  see RequestLocaleAwareI18nContentSupport in the configuration section belowcan be handled by the RequestLocaleAwareI18nContentSupport implementation of the I18nContentSupport interface, see below in The I18nContentSupport interface subsection.

From Request-URI

The most common form of Request-URI is that used to identify a resource on an origin server or gateway. For example:

...

Code Block
/de/tour-type~active~.html

To configure a site in Magnolia to parse Request-URI for locale preference, see DefaultI18nContentSupport and HierarchyBasedI18nContentSupport in the configuration section belowIn Magnolia the locale information provided in the Request-URI can be handled by DefaultI18nContentSupport and HierarchyBasedI18nContentSupport implementations of the I18nContentSupport interface, see the details in the following subsection.

The I18nContentSupport interface

...