From a925f8708823e57b61cffc727c385cbdd4ae4856 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 7 Jan 2022 10:27:55 +0100 Subject: [doc] move Multilingual Search from user to admin docs settings.yml snippets have no place in the user docs. --- docs/admin/engines/settings.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'docs/admin') diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index a829b870c..a936bac2a 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -353,6 +353,30 @@ engine is shown. Most of the options have a default value or even are optional. engines, and so won't be described here. +Example: Multilingual Search +---------------------------- + +SearXNG does not support true multilingual search. +You have to use the language prefix in your search query when searching in a different language. + +But there is a workaround: +By adding a new search engine with a different language, SearXNG will search in your default and other language. + +Example configuration in settings.yml for a German and English speaker: + .. code-block:: yaml + + search: + default_lang : "de" + ... + + engines: + - name : google english + engine : google + language : en + ... + +When searching, the default google engine will return German results and "google english" will return English results. + .. _settings use_default_settings: use_default_settings -- cgit v1.2.3