Update to support Hindi locale

This commit is contained in:
Wu Cheng-Han 2016-10-14 22:52:54 +08:00
parent 9995cbfd32
commit dbd7449740
2 changed files with 2 additions and 1 deletions

2
app.js
View file

@ -95,7 +95,7 @@ app.use(helmet.hsts({
})); }));
i18n.configure({ 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', cookie: 'locale',
directory: __dirname + '/locales' directory: __dirname + '/locales'
}); });

View file

@ -163,6 +163,7 @@
<option value="hr">hrvatski jezik</option> <option value="hr">hrvatski jezik</option>
<option value="pl">język polski</option> <option value="pl">język polski</option>
<option value="uk">Українська</option> <option value="uk">Українська</option>
<option value="hi">हिन्दी</option>
</select> </select>
</div> </div>
</div> </div>