summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 8a0adefd5..3b6ac6591 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -112,6 +112,7 @@ _category_names = (gettext('files'),
outgoing_proxies = settings.get('outgoing_proxies', None)
+
@babel.localeselector
def get_locale():
locale = request.accept_languages.best_match(settings['locales'].keys())