summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py3
1 files changed, 3 insertions, 0 deletions
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