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