12

I build a dual monitor dashboard with Google Chrome (V. 60.0.3112.78) under CentOS 7. Everything is working with the exception that I am not able to disable Chrome's translation feature via the command line.

I already start Chrome with --disable-translate but Chrome asks still if it should translate the page or not.

Oliver F.
  • 291
  • 1
  • 3
  • 8
  • There are 2 ways to do that (that I know of). The first one is through `--disable-translate` that you already tried and the second one is through the browser settings (Languages ....). Now why 1st one fails? if there's already another instance of Chrome running, running it from the command-line will ignore the switches passed in the command, so you won't be able to pass the `--disable-translate` switch. You'll need to close all instances first. – Jimmy_A Aug 04 '17 at 08:27
  • `--disable-translate` seems to be ignored on this computer by Chrome. Unfortunately I can't use the browser settings as there are multiple instances of Chrome are running, each with a temporary directory as home directory. – Oliver F. Aug 06 '17 at 08:18

4 Answers4

16

From https://bugs.chromium.org/p/chromium/issues/detail?id=770776#c11, you may add the following option (if you are using a version of Chrome released after the end of 2020)

--disable-features=Translate
socrates
  • 351
  • 3
  • 4
7

If you have control over the web content being displayed (it seems you do), you can place this meta tag in the <head> section:

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

That will stop Chrome poping up the translation dialog.

Still if it's not your web page, you can install the ModHeader extension to modify the response headers yourself: https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj

See also:

Aritz
  • 173
  • 1
  • 6
6

After searching for a while I found out, that the --disable-translate flagt has been removed from Chrome.

The proposal to remove this flag is available online at https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/nOgks4a7_uI.

Oliver F.
  • 291
  • 1
  • 3
  • 8
3

As of chromium version 60.0.3112.89, --disable-translate doesn't work anymore.

The workaround, if you have access, is to remove the lang from html tag or set it to "en".