question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting browser language has no effect

See original GitHub issue

When I change the language for the browser via BrowserVersionBuilder, the language remains on my default settings. This feature worked before the BrowserVersionBuilder was introduced

BrowserVersionBuilder browserVersionBuilder = new BrowserVersionBuilder(BrowserVersion.CHROME);
browserVersionBuilder.setBrowserLanguage("fr");
WebClient client = new WebClient(browserVersionBuilder.build());

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rbricommented, Mar 18, 2021

Usually the web pages using the Accept-Language header to determine the locale. The builder has a separate setter for this. Can you please check if setting the also helps.

0reactions
rbricommented, Mar 18, 2021

have to think about this dependency - maybe at least the docu needs some improvement

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Change the Default Language of an Internet Browser.
Open the Google Chrome browser. · In the upper-right corner of the window, click the · Select Settings in the drop-down menu that...
Read more >
Setting language preferences in a browser - W3C
To change those preferences go to System Preferences > Language & Region > Preferred Language , but be aware that it will change...
Read more >
Can't change my chrome language - Google Help
1. Force the language to change through a shortcut. a. Create a shortcut to chrome on the desktop. b. Right click on the...
Read more >
How to change the language in the Google Chrome browser
The default language is set to English when you first use the browser. But you can choose a new one from over 100...
Read more >
Cannot change browser language! The setting does not take ...
Thanks for replying, I'm sorry this is still happening! Just to confirm, you're changing the language setting at edge://settings/languages and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found