mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Add support of Italian, Turkish, Russian, Dutch, Croatian, Polish locales
This commit is contained in:
parent
bf4c6d021c
commit
4c9dc5fa1f
2 changed files with 7 additions and 1 deletions
2
app.js
2
app.js
|
@ -94,7 +94,7 @@ app.use(helmet.hsts({
|
|||
}));
|
||||
|
||||
i18n.configure({
|
||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt'],
|
||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl'],
|
||||
cookie: 'locale',
|
||||
directory: __dirname + '/locales'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue