Quiero obtener el idioma actual con this.translate.getBrowserLang() , pero siempre devuelve 'en', cualquiera que sea el idioma actual y cuáles son los idiomas admitidos.
Aquí está el plnkr: https://plnkr.co/edit/JEXgj8WcISYGtDg75VoR?p=preview ,
tal vez plnkr se haya roto, puedes probar stackblitz: https://stackblitz.com/edit/github-kk1mud-a7gxbb
importar el servicio de traducción y agregar el constructor
constructor(private translate: TranslateService){ } Encuentro que usa this.translate.currentLang para obtener el idioma actual
constructor(private translate: TranslateService){} ngOnInit() { this.translate.currentLang; }