Reputation: 5886
Is there a way to turn off the automatic text translation at the MSDN library pages ?
I do prefer English text but due to having a German IP address Microsoft activates the automatic translation on every new page load which gives me a yellow box with a German translation of the text I am currently hovering over with the mouse.
This happens regardless what language is initially set in the right upper corner and regardless of whether I am logged in or not.
I can't tell how annoying this is !!
Any ideas, anyone ?
Upvotes: 143
Views: 15534
Reputation: 1073
I got tired of replacing manually the url of the MSDN docs to target en-us
in the url, so I came up with this little user script for the very handy Tampermonkey extension (available on Chrome, Microsoft Edge, Opera, and Firefox)
// ==UserScript==
// @name MSDN docs [en-us] redirect
// @version 0.1
// @description Redirects to the en-us version of the current MSDN doc page
// @grant none
// @match https://learn.microsoft.com/*
// ==/UserScript==
(function () {
let pathname = window.location.pathname.split('/');
if (pathname[1].toLowerCase() !== 'en-us') {
pathname[1] = 'en-us';
pathname = pathname.join('/');
window.location.href = window.location.origin + pathname + window.location.search;
}
})();
Once you have the extension installed,
Create a new script...
Ctrl + S
or File > Save
). The @match
property will ensure that this script is only run against MSDN doc pages.
Upvotes: 8
Reputation: 2814
Usually there is a language link at the bottom of the page where you can change language (even though a permanent site specific setting would be much nicer).
Upvotes: 1
Reputation: 6310
I know it's an old question, by maybe this insight will be useful to someone.
I almost always open msdn through a search in google. It most of the time offered me site translated to my local language (through a part of the address with locale), sometimes accompanied by original (English) version next to it. If I click on the original language link, it does not translate anything, so it is not automatic translation based on my localization.
What solved my problem was to change google search settings to prefer English, rather than my native language. Go to google search settings, set Which language should Google products use?
to English
, then in Currently showing search results in:
click Edit
and check other languages you are likely to search in.
It will also change the UI language for google. I know it might be a high price to pay, but I believe it is worth it. If you search for a query typed in given language, results will most likely result in this language pages anyway.
Upvotes: 2
Reputation: 19
I'm using NoScript addon with Firefox (actually Waterfox), just forbib "m-msft.com", the translator will be turned off. I think you can use other plugins in other browser to forbid the domain too. NoScript is a must have addon for any serious web user, and UserStyles, of course.
Upvotes: 0
Reputation: 367
Found it! I mean, it's 2016, 3 years late, and maybe they just added it recently, but when you scroll all the way down there's a small button in the left bottom corner where you can choose language you want to use (more specifically a country "you're from").
Upvotes: 22
Reputation: 1
In IE in Internet Options Panel you have Apperrance part in General Tab. Add preffered language as a first and from now on all pages from MSDN will be presented in choosen language
Upvotes: 0
Reputation: 3744
Instead of extensions, which will consume memory and are a bit overkill for that kind of thing, you can use a custom search query.
Chrome
Settings => Manage Search Engines, add this entry:
Engine: MSDN US
Keyword: ms
URL: https://social.msdn.microsoft.com/Search/en-US?query=%s
(or whatever the proper url is at the time of your reading, just use %s
wherever it needs the actual query string)
Now, in the address bar, just type ms [SPACE]
. As soon as you press the space, it will prompt you with Search on MSDN US:
. Just type your query now. For instance ms string
will redirect you to the MSDN-US version of the search results for string
. Of course you can change the title and keyword.
I'm sure the other common browsers expose that kind of functionality too. On Firefox, I used to plug custom search engines on the search bar.
This is a neat trick that I use for all kinds of searches (SO, Amazon, Wikipedia in different languages, etc.). It's very efficient.
Upvotes: 1
Reputation: 2759
Recently I came across the same problem. And I solved it with Chrome extension ModHeader.
I configured and it works:
Upvotes: 6
Reputation: 14873
MSDN uses the prefered language from your web browser settings.
This is due to the Accept-Language
header:
http://www.w3.org/International/questions/qa-accept-lang-locales
So setting your browser to prefer English language websites should fix this problem. W3C has an overview how to do that on different browsers here:
http://www.w3.org/International/questions/qa-lang-priorities.en.php
Upvotes: 11
Reputation: 13825
If you are a firefox user, you can use Redirector addon. Create a new redirect and set it up like this:
It will automatically redirect all msdn requests to english non-translated versions.
Upvotes: 40
Reputation: 522
When you hit the "Original" radio button at the top, you see English, with German in the yellow hover box. If you visit the original English site, you don't see a translation, not even on hover. You switch to English by replacing /de-de/ in the URL with /en-us/. As in
German (translation or original with translation on hover):
http://msdn.microsoft.com/de-de/library/system.diagnostics.contracts.contractargumentvalidatorattribute(v=vs.110).aspx
English only (no translation):
http://msdn.microsoft.com/en-us/library/system.diagnostics.contracts.contractargumentvalidatorattribute(v=vs.110).aspx
Upvotes: 49