Add support for Japanese

This commit is contained in:
sjk
2021-12-08 09:13:26 +09:00
committed by GitHub
parent 96e17e1a56
commit b866077c24

View File

@@ -45,6 +45,7 @@ app.use(expressLocale({
es: 'es-ES',
fr: 'fr-FR', 'fr-CA': 'fr-FR', 'fr-CH': 'fr-FR',
it: 'it-IT', 'it-CH': 'it-IT',
jp: 'ja-JP',
ko: 'ko-KR',
pt: 'pt-BR',
ro: 'ro-RO',
@@ -59,6 +60,7 @@ app.use(expressLocale({
'es', 'es-ES',
'fr', 'fr-FR', 'fr-CA', 'fr-CH',
'it', 'it-IT', 'it-CH',
'jp', 'ja-JP',
'ko', 'ko-KR',
'pt', 'pt-BR',
'ro', 'ro-RO',
@@ -122,4 +124,4 @@ app.set('view engine', 'handlebars');
logger.info('Starting server');
app.listen(port, () => {
logger.success(`Server listening on http://localhost:${port}`);
});
});