14

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.
  • 331

5 Answers5

17

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
  • 361
8

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
  • 183
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.
  • 331
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".

0

I see you use Linux so you can also change that flag in 'Preferences' file of chromium settings right before executing the browser. It should look like

sed -i -e 's/"translate":{"enabled":true}/"translate":{"enabled":false}/' ~/.config/chromium/Default/Preferences

where '~' is your user directory, and 'Default' is the profile you want to change.