summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorMichael Vieira <dtox94@gmail.com>2018-02-23 11:52:14 +0100
committerGitHub <noreply@github.com>2018-02-23 11:52:14 +0100
commiteb0abb0825dd781417cd59ebcf5892fe76ad0527 (patch)
tree139f43277c0fffe31f460eb828db465cd02a90c0 /searx/webapp.py
parent0367c9ab48fd111d331c113bf7b74824275b51b7 (diff)
parent9fea2060b53cea72d57c92fef66a591ec867aee8 (diff)
Merge branch 'master' into master
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