Closed tongso closed 3 years ago
This package does not have language recognition, because the User-Agent does not contain it.
There are 2 ways to get your users language:
accept-language
it will have something like: hu-HU,hu;q=0.9,en-US;q=0.8,en;q=0.7,de;q=0.6
. You can find more info here about accept-language headerwindow.navigator.language
more info about NavigatorLanguage.language
how can i get language ?