Add support of Danish locale
This commit is contained in:
parent
15a346bd36
commit
c8d3951d32
2 changed files with 2 additions and 1 deletions
2
app.js
2
app.js
|
@ -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')
|
||||
})
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue