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

This commit is contained in:
Audric Ackermann 2020-08-05 16:58:46 +10:00
parent 3e56eb6133
commit bf05e10160
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4
1 changed files with 1 additions and 2 deletions

View File

@ -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 });
}