Default to 'en'
This commit is contained in:
parent
1249b1e176
commit
c553353741
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue