diff options
author | Wu Cheng-Han | 2016-09-16 22:29:13 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-09-16 22:29:13 +0800 |
commit | 4cc00c6c40c26de9b1b994626cc8dc54cc10febc (patch) | |
tree | c3cd514da788dbe7adfaf77df933128b21ef9804 /app.js | |
parent | 32073b55e408c21194275f31169bf0468931f3ce (diff) |
Update to support French, Deutsch, Japanese and Spanish locales
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ app.use(helmet.hsts({ })); i18n.configure({ - locales: ['en', 'zh'], + locales: ['en', 'zh', 'fr', 'de', 'ja', 'es'], cookie: 'locale', directory: __dirname + '/locales' }); |