Getting around translated content on the web
The Background Story
I am German, my OS and my browser are set to german. But programming is better done in english. It is far easier to search for english exceptions and I have no idea why Microsoft provides translated exception messages. Also the language on StackOverflow and most sites is English.
Sometimes I land on a site like Microsoft Docs (or MSDN) and it gives me German content. Most of the time the translation is not done by a human and it is usually served together with this annoying sentence overlay feature. It is so annoying!
Solve the problem!
Manual way of solving
My German sample url:
1 | https://docs.microsoft.com/de-de/sql/sql-server/what-s-new-in-sql-server-2017 |
as you can see, there is a de-de
in it. This will give you the German translation. Simply changing that part to en-us
will give you the Englisch version.
Final URL:
1 | https://docs.microsoft.com/en-us/sql/sql-server/what-s-new-in-sql-server-2017 |
Automated problem solving
This is a developer blog, so lets find an automated solution! I am a Firefox user, so I searched for redirect in the extensions and I found REDIRECTOR. It actually is available for all major browsers:
The setup of the redirection rule is best done with a sample url. You have to provide a URL filter and a way to rewrite it.
For your ease of use, I used the export feature of the extension:
1 | { |
I really like how I can solve my problem without needing to talk to Microsoft or any other site owner about there web site. Hope that helps!