mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Update to support French, Deutsch, Japanese and Spanish locales
This commit is contained in:
parent
32073b55e4
commit
4cc00c6c40
2 changed files with 7 additions and 3 deletions
2
app.js
2
app.js
|
@ -94,7 +94,7 @@ app.use(helmet.hsts({
|
|||
}));
|
||||
|
||||
i18n.configure({
|
||||
locales: ['en', 'zh'],
|
||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es'],
|
||||
cookie: 'locale',
|
||||
directory: __dirname + '/locales'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue