Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Learn More

Firefox not picking up the locale passed through the header through selenium preferences in Linux system

  • 1 Mbohovái
  • 0 oguereko ko apañuãi
  • 1 Hecha
  • Mbohovái ipaháva cor-el

more options

I am trying to set the Firefox language to French in Linux system using the below code(Before running the above code, I am setting the system language to fr_FR): FirefoxOptions firefoxOptions = new FirefoxOptions(); firefoxOptions.setHeadless(isHeadless); FirefoxProfile firefoxProfile = new FirefoxProfile(); firefoxProfile.setPreference("intl.accept_languages", "fr-FR"); firefoxOptions.setProfile(firefoxProfile); driver = new FirefoxDriver(firefoxOptions);

But Firefox Accept-Languages header shows just "fr" as the code.

I need Firefox to pick up both the code and the region i.e. "fr-FR".

Please help.

I am trying to set the Firefox language to French in Linux system using the below code(Before running the above code, I am setting the system language to fr_FR): FirefoxOptions firefoxOptions = new FirefoxOptions(); firefoxOptions.setHeadless(isHeadless); FirefoxProfile firefoxProfile = new FirefoxProfile(); firefoxProfile.setPreference("intl.accept_languages", "fr-FR"); firefoxOptions.setProfile(firefoxProfile); driver = new FirefoxDriver(firefoxOptions); But Firefox Accept-Languages header shows just "fr" as the code. I need Firefox to pick up both the code and the region i.e. "fr-FR". Please help.

Opaite Mbohovái (1)

more options

Maybe try the subreddit Selenium forum.