From bf05e1016024844d0685858aac8b5103ecf6c95d Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 5 Aug 2020 16:58:46 +1000 Subject: [PATCH] enable back local switch. use sh LANGUAGE=fr_FR to switch --- main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.js b/main.js index 68a04b572..f9bfb59c3 100644 --- a/main.js +++ b/main.js @@ -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 }); }