devdocs
devdocs copied to clipboard
Exclude code blocks from Google Chrome translation
The Chrome converter can translate code in a "front-end" module. Is it possible to avoid this situation by adding a "code" tag under "pre"?
Using HTML's translate attribute: https://www.w3.org/International/questions/qa-translate-flag
I cannot reproduce the translation issue, e.g. translating https://devdocs.io/css/translate to Russian preserves the <pre> content:

My current browser version is 90.0.4430.212 (64bit) I tried several languages, including Russian, and this phenomenon occurred.
to Russian

to Traditional Chinese

to Japanese

I believe the best solution would be to add the i18n package and each of us would do an individualized translation for each language.
It's the most work, but it's still the best.