enable back local switch. use sh LANGUAGE=fr_FR to switch

pull/1300/head
Audric Ackermann 5 years ago
parent 3e56eb6133
commit bf05e10160
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -763,9 +763,8 @@ app.on('ready', async () => {
logger = logging.getLogger();
logger.info('app ready');
logger.info(`starting version ${packageJson.version}`);
if (!locale) {
const appLocale = process.env.NODE_ENV === 'test' ? 'en' : 'en'; // app.getLocale(); // FIXME reenable once we have translated our files
const appLocale = process.env.NODE_ENV === 'test' ? 'en' : app.getLocale();
locale = loadLocale({ appLocale, logger });
}

Loading…
Cancel
Save