如何防止 Edge 翻译网页 [英] How to prevent Edge from translating a webpage

查看:127
本文介绍了如何防止 Edge 翻译网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几周里,我接到了一些来自云应用程序用户的电话,他们告诉我,所有标签和按钮的名称确实很奇怪说明.原来,这是因为他们的设备上激活了 Microsoft Edge 中的自动翻译.

In the last weeks I had some calls from users of my cloud application that tell me, that all labels and buttons do have strange names & descriptions. It turned out that the reason for this is the automatic translation in Microsoft Edge that is activated on their devices.

问题:我们提供了一个德语云应用程序,Edge 试图将德语翻译成(非常愚蠢的)德语.它不关心 <html lang="de"> 并试图将完整的德语页面翻译成另一个完全愚蠢和错误的德语页面.

The problem: we offer a German cloud application and Edge tries to translate German into (really stupid) German. It doesn't care about <html lang="de"> and tries to translate the complete German page into another German one which is completely stupid and wrong.

如何防止这种行为?我如何告诉 Edge 该页面已经的德语并且不需要翻译?

How can I prevent this behavior? How can I tell Edge that this page already is in German and that it doesn't need to be translated?

这是一个非常愚蠢的行为,因为它完全混淆了我们的用户,我们收到了很多来自他们的电话,说我们的应用程序无法正常工作.

This is a really stupid behavior because it completely confuses our users and we get a lot of calls from them that our application is not working correctly.

推荐答案

我猜你在使用 Edge Chromium.如果我猜错了,请纠正我.notranslate 类对我不起作用.您可以在 <head></head> 中添加此行以禁用浏览器中的自动翻译:

I guess you're using Edge Chromium. Correct me if I guess wrong. notranslate class doesn't work for me. You can add this line inside <head></head> to disable automatic translation in browser:

<meta name="google" content="notranslate" />

我已经测试过,它可以在 Edge Chromium 和 Chrome 中运行良好.

I've tested and it can work well in Edge Chromium and Chrome.

参考链接:如何从 html 中禁用谷歌翻译铬

这篇关于如何防止 Edge 翻译网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆