import { TranslateService } from '@ngx-translate/core'; constructor(private translate: TranslateService){ } currentLanguage = this.translate.currentLang;