Forum Discussion
Hi Emma,
I am not doing anything with the language settings currently, as I haven't needed to access them up until now. I am just trying to figure out the best way to do this in a script.
I have just tried the navigator.languages mentioned in the link but I am getting an error saying 'cannot read property 'language' of undefined'
My test scripts are written in Javascript, is there something additional I need to do to access the navigator.language property?
Here are some details about changing browser settings in scripts. You'll see the note in there that Chrome security doesn't allow this kind of change, but it should at least work in Firefox.
- Sabiha3 years agoOccasional Contributor
Thanks Marsha,
I have managed to get the languages on Firefox using the Preferences.intl.accept_languages
Does anyone know how I do the same on Chrome and Edge?
- Marsha_R3 years agoChampion Level 3
Looks like it is not possible with Chrome. I'm not sure about Edge but they are closely related so it may not be possible with Edge either.