searxng/docs/dev/engines/online
Markus Heiser e560d7e373 [mod] presearch: add language & region support
In Presearch there are languages for the UI and regions for narrowing down the
search.  With this change the SearXNG engine supports a search by region.  The
details can be found in the documentation of the source code.

To test, you can search terms like::

   !presearch bmw :zh-TW
   !presearch bmw :en-CA

1. You should get results corresponding to the region (Taiwan, Canada)
2. and in the language (Chinese, Englisch).
3. The context in info box content is in the same language.

Exceptions:

1. Region or language is not supported by Presearch or
2. SearXNG user did not selected a region tag, example::

    !presearch bmw :en

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15 19:23:26 +01:00
..
annas_archive.rst
archlinux.rst
bing.rst
bpb.rst
brave.rst
bt4g.rst
dailymotion.rst
duckduckgo.rst
google.rst
lemmy.rst
loc.rst
mastodon.rst
moviepilot.rst
mrs.rst
mwmbl.rst
odysee.rst
peertube.rst
piped.rst
presearch.rst
qwant.rst
radio_browser.rst
recoll.rst
seekr.rst
startpage.rst
tagesschau.rst
torznab.rst
wallhaven.rst
wikipedia.rst
yacy.rst
yahoo.rst
zlibrary.rst