summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-06-25 17:43:37 +0200
committerAdam Tauber <asciimoo@gmail.com>2020-06-25 19:50:26 +0200
commitec48447361045bf1e68d3634fcae862e77f85d92 (patch)
treea2628088b01afc5274a714ccc396bf600c7f12f5
parent6ab569f5588e148bf73a7d80bc2f52bc737bf5e0 (diff)
downloadsearxng-ec48447361045bf1e68d3634fcae862e77f85d92.tar.gz
searxng-ec48447361045bf1e68d3634fcae862e77f85d92.zip
[fix] change lang attribute of the html to match the current locale - #350
-rw-r--r--searx/templates/oscar/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 839619976..2ccadd700 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -1,6 +1,6 @@
{% from 'oscar/macros.html' import icon %}
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"{% if rtl %} dir="rtl"{% endif %}>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ preferences.get_value('locale') }}" xml:lang="{{ preferences.get_value('locale') }}"{% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="searx - a privacy-respecting, hackable metasearch engine" />