Hi,

Is there a way to detect and trigger translate to default browser language ?

Thanks.

Comments

amccune’s picture

Hi
Did you ever resolve this?
Iv the same need!
Cheers
Adam

nguyentran’s picture

Hi,

I have found the solution

var language = window.navigator.userLanguage || window.navigator.language;
      language = language.toString().split('-');
      console.log(language[0]);

Hope this help