如何设置MSDN始终为英文
我知道这不完全是编程问题,但它是紧密相关的 -
我到底如何设置 MSDN 以英语显示所有内容?我是捷克人,每一篇知识库或文档文章都会通过翻译器自动翻译为捷克语,这只会导致乱码,而将其切换为英语需要几次搜索和点击。
I know that this isn't exactly programming question, but it is tightly related -
How the hell do I set MSDN to display everything in English? I'm Czech, and every KB or documentation article it automatically translates it to Czech with their translator, which result just in gibberish, and switching it to English requires couple of searching and clicks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(10)
我为此编写了一个简单的专用浏览器扩展。与重定向器插件不同,不需要配置。
它称为“英文版 FFS MSDN”,可用于:
它只是重定向任何本地化的MSDN(或 docs.microsoft)页面到英语(en-us)版本。
相当琐碎的来源可以在 https://github.com/AirLancer/ffs_msdn_in_english 找到
I wrote a simple dedicated browser extension for this. Unlike the Redirector plugin, no configuration is required.
It's called "FFS MSDN in English" and is available for:
It simply redirects any localised MSDN (or docs.microsoft) page to the english (en-us) version.
The rather trivial sources can be found at https://github.com/AirLancer/ffs_msdn_in_english
我认为这是非常合理的问题。
您需要按照此处。根据您的情况,将 cz-cz 更改为 en-us。
或者更好的是,让它做一个浏览器插件,例如 Firefox 的 Redirector:
Very legitimate question, I think.
You need to modify the url like explained here. In your case change cz-cz to en-us.
Or better, let it do a browser plugin like Redirector for firefox:
您可以从页面左下角选择默认语言。
编辑
新文档网站提供了更方便的英文查看选项。但是,该设置不是永久的。
You can select your default language from bottom left of the page.
Edit
New docs site has an easier option to view in English. However, the setting is not permanent.
我通过安装 chrome 重定向器插件修复了这个问题:
http://bendavis78.github.io/chrome-extension-redirector/
I've fixed it by installing a redirector plugin for chrome:
http://bendavis78.github.io/chrome-extension-redirector/
如果您使用 Google 搜索,则需要更改 Google 本身的语言首选项(无需登录)1:
1 您可能还需要执行 pr0gg3r 和 海滩漫步者建议。
If you are using Google search, you need to change language preferences for Google itself (you don't need to be logged in)1:
1 You might also need to do what pr0gg3r and Beachwalker advise.
一种解决方案是使用以下 Tampermonkey 用户脚本重写 google 的搜索引擎链接:
编辑 2021-01-28:从链接中删除 onmousedown 属性事件。停止链接捕获和替换谷歌自己的重定向链接。
One solution is to rewrite google's search engine links using this Tampermonkey userscript:
Edit 2021-01-28: Remove onmousedown attribute event from link. Stops link capture and substitution of google's own redirect link.
我不想使用扩展程序,因为我认为它们所需的权限是一个主要的安全风险。此外,MSDN 并不是唯一一个翻译糟糕的网站。所以对我来说,最好的解决方案是更改 Windows 10 中的语言设置。将英语添加到“首选语言”中并将其设置为第一。应用程序和网站将以它们支持的列表中的第一种语言显示。
I do not want to use extensions because I consider their required permissions to be a major security risk. Furthermore MSDN is not the only site where translations sucks. So for me the best solution was to change the language settings in Windows 10. Add English to your "Preferred languages" and set it to be 1st. Apps and websites will appear in the first language in the list that they support.
我喜欢在翻译版本和en-us版本之间进行选择。
我编写了以下 UserScript...,例如用于 TamperMonkey 中。
它执行@description 中假装的操作。
I like to have the choice between the translated and en-us version.
I authored the following UserScript... to be used in TamperMonkey for instance.
It does what it pretends in the @description.
在火狐浏览器中>设置> “语言和外观”部分在一些语言设置下方有一个标签旁边的按钮,上面写着:
“选择显示页面的首选语言”,
您可以在其中设置有序的语言列表。我添加了英语并将其移至列表顶部。
现在重新启动后同样,之前打开的 msdn 链接不会自动翻译。
In Firefox > Settings > "Language and Appearance" section there is below some Language settings a button next to a label that says:
"Choose your preferred language for displaying pages"
There you can setup a ordered list of languages. I have added english and moved it to the top of the list.
Now after a restart the same, previously opened msdn links do not auto translate.
我不知道您正在使用的浏览器,但大多数浏览器都会将有关客户端的信息发送到服务器(包括首选语言)。因此,一种选择可能是将默认语言设置为英语(如此处为 Firefox 所做的那样)。
I don't know the browser you're using but most browsers send info about the client to the server (incl. preferred language). So one option might be to set the default language to english (as done here for Firefox).