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
65 stars 3 forks source link

Translate tooltips and placeholder texts (attributes) #69

Open jelmervdl opened 1 year ago

jelmervdl commented 1 year ago

More of a ticket to keep track of this.

Right now element attributes are not translated. Some of these attributes make it into the presentation. The most common:

Right now these attributes are going to bergamot-translator, but it doesn't know about their semantics and won't translate them. Since we're already tracking per element what is translated, we could issue translation requests for each of these attributes as well from the extension.