jelmervdl / translatelocally-web-ext

TranslateLocally for the Browser is a web-extension that enables client side in-page translations for web browsers.
https://addons.mozilla.org/en-GB/firefox/addon/translatelocally-for-firefox/
Mozilla Public License 2.0
66 stars 3 forks source link

Broken site: https://news.google.com/showcase?hl=it&gl=IT&ceid=IT%3Ait #4

Closed jelmervdl closed 1 year ago

jelmervdl commented 2 years ago

Website: https://news.google.com/showcase?hl=it&gl=IT&ceid=IT%3Ait

Broken: I suspect Google news is using a font that treats certain strings, like "star_border", as an icon. If this text is then slightly altered of completely translated, it is no longer a symbol in that font and the text is rendered as is.

Possible solution: Tell Google to stop using such dirty hacks on the web.

image

jelmervdl commented 2 years ago

Maybe we should treat aria-hidden="true" as a translate=no type of attribute?

If it is not important enough for screen readers, is it important enough to translate?

jelmervdl commented 1 year ago

Seems to no longer be an issue (German homepage translated to English)

image