When you visit https://docs.microsoft.com, it shows pages in the local language you have configured in your browser’s settings. Sometimes the pages are properly translated by humans, sometimes it is machine translated.
I always want the English versions of the Docs site pages, but I do not want to have English as the default language in my browser since I want Swedish version on other websites.
I discovered the Firefox plugin called Redirector. It does one very simple task. It looks for pattern matches in the URL and modifies them according to my rules.
So I installed it and created the following Redirect rule:
The * is a wildcard, so anything will match. $1 is the value that the first wildcard represented. Note that my rule only matches Swedish (sv-se), you may need to modify your rules to match your language (or all languages).
Now, whenever I visit a page that starts with https://docs.microsoft.com/sv-se/* it is immediately changed to https://docs.microsoft.com/en-us/*:
There are similar extensions for Chrome, but I have not tested them yet: