diff --git a/src/app-config/index.ts b/src/app-config/index.ts index aed22056b4..0581f77438 100644 --- a/src/app-config/index.ts +++ b/src/app-config/index.ts @@ -1,5 +1,6 @@ export const environment = { "shell": { + "languageHash": "12", /* this value is set manually at the moment and should be replaced with the published app version */ "defaultRoute": "/content/entries", "loginRoute" : "/login", "errorRoute" : "/error", diff --git a/src/shared/kmc-shell/auth/app-bootstrap.service.ts b/src/shared/kmc-shell/auth/app-bootstrap.service.ts index f9b4095686..8dfce61e35 100644 --- a/src/shared/kmc-shell/auth/app-bootstrap.service.ts +++ b/src/shared/kmc-shell/auth/app-bootstrap.service.ts @@ -93,7 +93,7 @@ export class AppBootstrap implements CanActivate { this._bootstrapConfig = appBootstrapConfig; // init localization, wait for localization to load before continuing - + this.appLocalization.setFilesHash(environment.shell.languageHash); const language = this.getCurrentLanguage(); this.appLocalization.load(language,'en').subscribe( () => {