To change the language on my website I’ve been using ressources and this code:
Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(languageCode);
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(languageCode);
It’ working fine using the correct ressource.
But I have an address autocomplete which makes request to google and the response keep coming in the first language set in the browser and not the one I used.
How could I change that ?
Browser language is set by the user, you cannot change that.
What google API are you using, maybe you can pass along a language parameter?