diff options
author | Wu Cheng-Han | 2016-10-14 22:52:54 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-14 22:52:54 +0800 |
commit | dbd7449740a5c9b9fc51fb92c0f7614e180b8063 (patch) | |
tree | 0d6e2872e07064b5920fe9ea3897c2266378f97d | |
parent | 9995cbfd326b51fb23646ff8d5f2b0e65c3cdce2 (diff) |
Update to support Hindi locale
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | public/views/index.ejs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -95,7 +95,7 @@ app.use(helmet.hsts({ })); i18n.configure({ - locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk'], + locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi'], cookie: 'locale', directory: __dirname + '/locales' }); diff --git a/public/views/index.ejs b/public/views/index.ejs index c486f05d..7c0b8c95 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -163,6 +163,7 @@ <option value="hr">hrvatski jezik</option> <option value="pl">język polski</option> <option value="uk">Українська</option> + <option value="hi">हिन्दी</option> </select> </div> </div> |