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())