SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] doc of locales.get_engine_locale() / zh-classical is missleading
Markus Heiser9b575a997ba2
diff --git a/searx/engines/wikidata.py b/searx/engines/wikidata.pyindex b9de67ef9..34d408158 100644--- a/searx/engines/wikidata.py+++ b/searx/engines/wikidata.py@@ -166,8 +166,6 @@ def send_wikidata_query(query, method='GET'):def request(query, params):- # wikidata does not support zh-classical (zh_Hans) / zh-TW, zh-HK and zh-CN- # mapped to zheng_tag, _wiki_netloc = get_wiki_params(params['searxng_locale'], traits)query, attributes = get_query(query, eng_tag)logger.debug("request --> language %s // len(attributes): %s", eng_tag, len(attributes))diff --git a/searx/locales.py b/searx/locales.pyindex ffa5e731c..c765eb198 100644--- a/searx/locales.py+++ b/searx/locales.py@@ -245,7 +245,7 @@ def get_engine_locale(searxng_locale, engine_locales, default=None):..'zh' : 'zh''zh_Hans' : 'zh'- 'zh_Hant' : 'zh-classical'+ 'zh_Hant' : 'zh_TW'}.. hint::