summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2018-02-18 23:42:30 +0100
committerAdam Tauber <asciimoo@gmail.com>2018-02-19 00:22:39 +0100
commitb70ce84eb683931c819bccab757e9ca1d2024ad5 (patch)
tree3798813398e341fd35ebd1150aeebed8879467b2 /searx/webapp.py
parent03d7a8f065199b906eeb936494d3a1b42cc93a78 (diff)
downloadsearxng-b70ce84eb683931c819bccab757e9ca1d2024ad5.tar.gz
searxng-b70ce84eb683931c819bccab757e9ca1d2024ad5.zip
[enh] update translations - add taiwanese and filipino
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