diff options
author | Alexandre Flament <alex@al-f.net> | 2022-03-26 17:09:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-26 17:09:07 +0100 |
commit | dec04c0ed640caac3b901787aca2a14452734fe7 (patch) | |
tree | 28d7e4bcf711dbcd0a82caf266b05f33353711ba /docs/admin | |
parent | b44a29a5a204085fb26d03c03b8eedbd0c38f617 (diff) | |
parent | a521d4985ac62d730178dfe9780eed6914fdfbed (diff) | |
download | searxng-dec04c0ed640caac3b901787aca2a14452734fe7.tar.gz searxng-dec04c0ed640caac3b901787aca2a14452734fe7.zip |
Merge pull request #999 from return42/fix-doc-settings2
[docs] document settings.yml: search.languages
Diffstat (limited to 'docs/admin')
-rw-r--r-- | docs/admin/engines/settings.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index 2726674d5..85feddd6a 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. |