Add support of Danish locale

This commit is contained in:
Wu Cheng-Han 2017-06-11 15:52:04 +08:00
parent 15a346bd36
commit c8d3951d32
2 changed files with 2 additions and 1 deletions

2
app.js
View file

@ -104,7 +104,7 @@ app.use(helmet.hsts({
}))
i18n.configure({
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo'],
locales: ['en', 'zh', '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')
})

View file

@ -148,6 +148,7 @@
<option value="hi">हिन्दी</option>
<option value="sv">svenska</option>
<option value="eo">Esperanto</option>
<option value="da">dansk</option>
</select>
</div>
</div>