Hidden text is being translated blocking translating an overlay modal
Categories
(Firefox :: Translations, defect, P3)
Tracking
()
People
(Reporter: cpeterson, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Attachments
(1 file)
2.21 MB,
image/png
|
Details |
Steps to reproduce:
- Load https://www.comedie-francaise.fr/fr/expositions_virtuelles/bijoux-de-scene-de-la-comedie-francaise
- Use the "Translate this page" button in the address bar to translate from French to English.
- See that the "VIGIPIRATE" modal message overlay is not translated.
- Click the modal message's "X Fermer" button to close the modal.
- See that the rest of the page content is translated.
Expected result
All content on the page should be translated, including the "VIGIPIRATE" modal message.
Actual result
The "VIGIPIRATE" modal message is not translated, but the rest of page content is translated. See the attached screenshot showing the untranslated "VIGIPIRATE" modal message, even though the "Translate this page" button in the address bar shows that Firefox thinks it has translated the page to English.
I'm using Firefox 124 Nightly on Windows 11.
Comment 1•1 year ago
|
||
The page is translating, but it's not prioritizing the correct things to translate, so it takes a long time to finish. What's worse, is that we are translating non-visible items on the page. For instance:
This includes invisible content:
document.body.textContent.length
107,682
And this only includes visible content:
document.body.innerText.length
23,445
There is a lot of hidden content that is never shown to the user. We should take into account element visibility, but it may just be fixed with Bug 1820252. Let's keep this one open in case it's not. It's also a good test case for Bug 1820252.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:gregtatum, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Description
•