Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] language/locale settings

asciimood63135db6105
diff --git a/searx/webapp.py b/searx/webapp.py
index 43165b4f8..43f5021b0 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -210,7 +210,6 @@ def preferences():
elif pd_name == 'language' and (pd == 'all' or
pd in (x[0] for
x in language_codes)):
- locale = pd
lang = pd
elif pd_name.startswith('engine_'):
engine_name = pd_name.replace('engine_', '', 1)