Default to 'en'

This commit is contained in:
Artur 2024-11-08 22:07:32 +01:00
parent 1249b1e176
commit c553353741
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ export class AppComponent {
constructor( public translate: TranslateService ){
this.translate.addLangs(['pl', 'en']);
this.translate.setDefaultLang('pl');
this.translate.use('en');
}
this.translate.use('pl');
}
// app.component.ts
switchLanguage(language: string) {