Skip to content

Commit

Permalink
set default language to German (de), keep English (en) as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad2002 committed Apr 10, 2024
1 parent 60e888c commit 84d5d53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export class AppComponent implements OnDestroy {

let lang = window.localStorage.getItem("language");
if (!lang) {
lang = navigator.language;
//lang = navigator.language;
lang = "de";
}
this.translateService.use(lang);

Expand Down

0 comments on commit 84d5d53

Please sign in to comment.