diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2020-06-25 17:43:37 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2020-06-25 19:50:26 +0200 |
| commit | ec48447361045bf1e68d3634fcae862e77f85d92 (patch) | |
| tree | a2628088b01afc5274a714ccc396bf600c7f12f5 /searx | |
| parent | 6ab569f5588e148bf73a7d80bc2f52bc737bf5e0 (diff) | |
[fix] change lang attribute of the html to match the current locale - #350
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/templates/oscar/base.html | 2 |
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" /> |