summaryrefslogtreecommitdiff
path: root/searx/engines/demo_offline.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/demo_offline.py')
-rw-r--r--searx/engines/demo_offline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/demo_offline.py b/searx/engines/demo_offline.py
index aeb74f443..9d6e3b52d 100644
--- a/searx/engines/demo_offline.py
+++ b/searx/engines/demo_offline.py
@@ -63,7 +63,7 @@ def search(query, request_params):
for row in result_list:
entry = {
'query': query,
- 'language': request_params['language'],
+ 'language': request_params['searxng_locale'],
'value': row.get("value"),
# choose a result template or comment out to use the *default*
'template': 'key-value.html',