Commit 6b7409dc authored by Jérome Perrin's avatar Jérome Perrin

xhtml_style: don't allow google translate

Some users have been using google chrome builtin translation system with
ERP5 back office (xhtml style), but the way google translation changes
the DOM sometimes break ERP5 interface.
This also have data privacy issue as this translation is done on google
servers.

https://www.w3.org/International/questions/qa-translate-flag recommends
using translate=no but the approach of the meta tag might be preferable
for our case as it prevents sending the page content to translation
service.
parent 7505e054
......@@ -24,6 +24,7 @@ DEPRECATION:
<meta name="generator" content="ERP5 - Copyright (C) 2001 - 2015. All rights reserved." />
<meta name="robots" content="index, follow" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="google" content="notranslate">
<tal:block metal:use-macro="global_definitions_macros/render_css_js" />
<tal:block metal:define-slot="head"></tal:block>
</head>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment