angular_components icon indicating copy to clipboard operation
angular_components copied to clipboard

Google translate breaks many components

Open iu4u57k3 opened this issue 6 years ago • 2 comments

Many users have Google translate enabled by default.

As soon as they visit a page that uses angular dart components, the page is translated. Once the translation is done many components such as maternial-dropdown-select, and material-checkbox are completely broken.

To test this issue, visit: https://dart-lang.github.io/angular_components/#/material_dropdown_select

Then, translate above page to french (or any other language). Try to change the dropdown selection it will not work Try to check or uncheck " Enable focus indicator", it will not work either.

I have not tested this issue with other languages. It appears that Google translate is kept enabled by default by many users and it is causing many pages to break.

iu4u57k3 avatar Jul 19 '19 22:07 iu4u57k3

How to tell Google translate to not translate the page?

iu4u57k3 avatar Jul 19 '19 22:07 iu4u57k3

This might work ?

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

alescdb avatar Jul 20 '19 16:07 alescdb