summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-07 10:27:55 +0100
committerMartin Fischer <martin@push-f.com>2022-01-10 10:38:15 +0100
commita925f8708823e57b61cffc727c385cbdd4ae4856 (patch)
tree106aee2893f740cfcb125f235fcedc653b96b372 /docs
parent392e29836946c34e9e35101a7a5a1f1072671a1d (diff)
downloadsearxng-a925f8708823e57b61cffc727c385cbdd4ae4856.tar.gz
searxng-a925f8708823e57b61cffc727c385cbdd4ae4856.zip
[doc] move Multilingual Search from user to admin docs
settings.yml snippets have no place in the user docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/admin/engines/settings.rst24
-rw-r--r--docs/user/search_syntax.rst24
2 files changed, 24 insertions, 24 deletions
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
diff --git a/docs/user/search_syntax.rst b/docs/user/search_syntax.rst
index 06aa978fb..346b3162d 100644
--- a/docs/user/search_syntax.rst
+++ b/docs/user/search_syntax.rst
@@ -37,27 +37,3 @@ Image search:
Custom language in wikipedia:
- :search:`:hu !wp hackerspace <?q=%3Ahu%20%21wp%20hackerspace>`
-
-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.