summaryrefslogtreecommitdiff
path: root/docs/admin
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-03-21 10:21:33 +0100
committerAlexandre Flament <alex@al-f.net>2022-03-26 13:32:42 +0100
commita521d4985ac62d730178dfe9780eed6914fdfbed (patch)
tree7609721540d8cddd075fe4826c1ee56fba19c771 /docs/admin
parentb14ed494fb70f976cd77c47d27f29e6fb0bac670 (diff)
downloadsearxng-a521d4985ac62d730178dfe9780eed6914fdfbed.tar.gz
searxng-a521d4985ac62d730178dfe9780eed6914fdfbed.zip
[docs] document settings.yml: search.languages
Requested-by: @dalf https://github.com/searxng/searxng/pull/996#discussion_r830858139 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/admin')
-rw-r--r--docs/admin/engines/settings.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst
index a55e2575b..a65d71e95 100644
--- a/docs/admin/engines/settings.rst
+++ b/docs/admin/engines/settings.rst
@@ -123,6 +123,24 @@ Global Settings
Default search language - leave blank to detect from browser information or
use codes from :origin:`searx/languages.py`.
+``languages``:
+ List of available languages - leave unset to use all codes from
+ :origin:`searx/languages.py`. Otherwise list codes of available languages.
+ The ``all`` value is shown as the ``Default language`` in the user interface
+ (in most cases, it is meant to send the query without a language parameter ;
+ in some cases, it means the English language) Example:
+
+ .. code:: yaml
+
+ languages:
+ - all
+ - en
+ - en-US
+ - de
+ - it-IT
+ - fr
+ - fr-BE
+
``ban_time_on_fail``:
Ban time in seconds after engine errors.