Skip to content
Snippets Groups Projects
Commit b8435ede authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

Merge branch '496-language-change-not-stored' into 'master'

Fix language defaults to browser language on reload

Closes #496

See merge request arsnova/frag.jetzt!446
parents 2cdf3fc2 a827490d
Branches
Tags
No related merge requests found
......@@ -21,8 +21,6 @@ export class AppComponent implements OnInit {
private matomoInjector: MatomoInjector,
public notification: NotificationService,
private customIconService: CustomIconService) {
translationService.setDefaultLang(this.translationService.getBrowserLang());
localStorage.setItem('currentLang', this.translationService.getBrowserLang());
customIconService.init();
if (environment.name === 'prod') { this.matomoInjector.init('https://arsnova.thm.de/stats/', 6); }
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment