Versions Compared

Key

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

...

Include Page
_What is locale
_What is locale

Understanding and differentiating the two locales

Not one but two locales

Prototypically, Magnolia runs on two instances, the Author instance and the Public instance.

The Public instance delivers the final page to a page visitor, and tries to deliver it in a way that fulfills the content of the HTTP request for the page. A part of the HTTP request's header defines which languages the visitor (client) is able to understand, and which locale variant of the page is preferred. The part that does this is the Accept-Language request header and may take one of the following three forms:

  • <language>
  • <locale>
  • *

The first represents language expressed as a 2 or 3-character string, the second represents language as a full language tag, the third says "any language" (see Accept-Language and Language Tags in RFC-2616).

<in progress>Maybe here an image.

And a link to Types of translatable text

...