Solve the problems of page disorder and non display of data rendering caused by Google translation of Chrome browser


If Google Translate automatic translation is set in Chrome browser, sometimes it will be very annoying, so you can choose to disable google translate. The specific methods are as follows

1. Add the attribute translate = “no” in the HTML tag to prohibit the whole site translation

<html translate="no">

2. Add in the head of HTML file (pro test, it doesn’t seem to work)

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

3. Add class = “notranslate” to the elements that do not want to be translated, which can be HTML, div and other elements (recommended, available for personal testing)

<div class="notranslate"></div>