Change the behavior of the translate=no attribute for the root html node
Categories
(Firefox :: Translations, defect, P3)
Tracking
()
People
(Reporter: chutten, Unassigned)
References
(Blocks 1 open bug)
Details
e.g. https://www.ubereats.com/de/store/sadhu-kreuzberg/dne8YU0hSkKGSkJwrpzh6A
It did correctly detect the language, correctly prompt "hey you wanna translate", appeared to correctly download and apply the model... but the page text remains entirely German.
Comment 1•1 year ago
|
||
The body of the page has "class=notranslate" (which means the page is explicitly asking not to be translated). It looks like Uber doesn't want you to order food unless you speak German!
Comment 2•1 year ago
|
||
Maybe we could avoid offering translation on pages where every element of the page has "notranslate"? We'll discuss this in our weekly meeting.
Comment 3•1 year ago
|
||
Note: Edge implements the exact same behavior as Firefox.
Reporter | ||
Comment 4•1 year ago
|
||
It also has <html translate="no"
> : (
Comment 5•1 year ago
•
|
||
I would assume the fix for this bug is to respect the translate="no"
by not offering to translate the page. However, if a user goes to the app menu and opens the translations, we should ignore the attribute, and translate the page, but continue to respect the translate attribute for any non-root nodes.
Updated•1 year ago
|
Comment 6•1 year ago
|
||
We discussed this today, and we decided to allow users to translate and show the icon in the urlbar without offering the popup in these cases.
We will still respect "translate=no" when it is on non-root nodes.
Updated•8 months ago
|
Description
•