ngx translate set default language as configuration code example
Example: ngx-translate access current language
import { TranslateService } from '@ngx-translate/core';
constructor(private translate: TranslateService){
}
currentLanguage = this.translate.currentLang;