Skip to content

Instantly share code, notes, and snippets.

@bodrovis bodrovis/tab1.page.ts
Last active Jan 9, 2019

Embed
What would you like to do?
// other stuff...
export class Tab1Page {
private language: string = this.translateService.currentLang;
constructor(private translateService: TranslateService) {} // add this
languageChange() { // add this
this.translateService.use(this.language); // add this
} // add this
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.