ITADN

Translation of a website with a .notranslate class on the HTML element

#591Openkatsyuta 创建于 2025-10-22
help wantedRFC
K
katsyutacommented
I’ve noticed some strange behavior: The [site](https://www.zara.com/rs/en/soft-bomber-jacket-p05063869.html?v1=494490210&v2=2417747) adds a `.notranslate` class to the `HTML` element. When I translate the site, I do not see the translated text — that part works as expected. When i select some text the translation button to not appear, and this expected behavior, because the page in translated state. But like a user who did not know about .notranslate selector i think the extention not work. I translated the page but didn’t see any translation. Then I selected the text, but the translate button didn’t appear either. ![Image](https://github.com/user-attachments/assets/aa6fbea1-5d77-4838-853a-afb879703665)
1 条评论