diff --git a/src/main.ts b/src/main.ts index 8dfc77da..77ff4622 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ if (environment.production) { } const locale = localStorage.getItem('locale'); -if (locale) { +if (locale && locale !== 'en') { getTranslations(`./assets/i18n/messages.${locale}.json`).then( (data: ParsedTranslationBundle) => { loadTranslations(data as any); @@ -31,7 +31,6 @@ if (locale) { }); }); } else { - console.log('no locale'); import('./app/app.module').then(module => { platformBrowserDynamic() .bootstrapModule(module.AppModule)