summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorRwing2017-10-17 10:54:52 +0800
committerRwing2017-10-23 17:38:04 +0800
commit362a7eaf65d902a93890f3510a58a092de3ac467 (patch)
treebb605cb464a530dfad08eae6e271672ea7bc4876 /app.js
parent5ce8f40eac7fccfcfca175cf79ccfa86a84bc113 (diff)
support Simplified Chinese and rename original zh to Traditional Chinese
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 62e6627d..c3f1fe8e 100644
--- a/app.js
+++ b/app.js
@@ -109,7 +109,7 @@ if (config.hsts.enable) {
}
i18n.configure({
- locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da'],
+ locales: ['en', 'zh', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da'],
cookie: 'locale',
directory: path.join(__dirname, '/locales')
})