summaryrefslogtreecommitdiff
path: root/docs/admin
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-08-01 17:59:49 +0200
committerGitHub <noreply@github.com>2022-08-01 17:59:49 +0200
commit7c9c112484ff091a7c11df1dbb645616b57d662f (patch)
tree844dc7ca4d31f0ff97c07d1817dbfba591420b30 /docs/admin
parent1fbb514a4ead209c95b4ddca0430f754a4c11554 (diff)
parent8df1f0c47e03fe7525c40a2856dba950bab8998b (diff)
Merge pull request #1560 from return42/http-accept-language
[mod] add 'Accept-Language' HTTP header to online processores
Diffstat (limited to 'docs/admin')
-rw-r--r--docs/admin/engines/settings.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst
index 0b4b984d7..f85c6a75f 100644
--- a/docs/admin/engines/settings.rst
+++ b/docs/admin/engines/settings.rst
@@ -440,6 +440,7 @@ engine is shown. Most of the options have a default value or even are optional.
engine: example
shortcut: demo
base_url: 'https://{language}.example.com/'
+ send_accept_language_header: false
categories: general
timeout: 3.0
api_key: 'apikey'
@@ -488,6 +489,13 @@ engine is shown. Most of the options have a default value or even are optional.
use multiple sites using only one engine, or updating the site URL without
touching at the code.
+``send_accept_language_header`` :
+ Several engines that support languages (or regions) deal with the HTTP header
+ ``Accept-Language`` to build a response that fits to the locale. When this
+ option is activated, the language (locale) that is selected by the user is used
+ to build and send a ``Accept-Language`` header in the request to the origin
+ search engine.
+
``categories`` : optional
Define in which categories this engine will be active. Most of the time, it is
defined in the code of the engine, but in a few cases it is useful, like when