From b70ce84eb683931c819bccab757e9ca1d2024ad5 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 18 Feb 2018 23:42:30 +0100 Subject: [enh] update translations - add taiwanese and filipino --- searx/webapp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'searx/webapp.py') diff --git a/searx/webapp.py b/searx/webapp.py index b6e4226a8..ca83f5641 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -165,6 +165,9 @@ def get_locale(): and request.form['locale'] in settings['locales']: locale = request.form['locale'] + if locale == 'zh_TW': + locale = 'zh_Hant_TW' + return locale -- cgit v1.2.3