Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
Code Block |
---|
Mozilla/5.0 (compatible; Konqueror/4.5; NetBSD 5.0.2; X11; amd64; en_US) KHTML/4.5.4 (like Gecko) |
the locale information is redundant information in information in the User-Agent
header is
more often than not will be even missing:
Code Block |
---|
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 |
, the header will not contain it. Internally, Magnolia has no direct means how to check the existence of and use retrieve this kind type of locale information. The preferred locale information is communicated in via the Accept-Language
header.
...
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).
...