Closed Bug 1845776 Opened 1 year ago Closed 1 year ago

Wikipedia page previews (pop-up) are not translated

Categories

(Firefox :: Translations, defect, P3)

Firefox 117
defect

Tracking

()

RESOLVED DUPLICATE of bug 1840705
Tracking Status
firefox117 --- affected

People

(Reporter: epavlov, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps:

Expected:

  • the preview is in English

Actual

  • the preview is in German

See the attached screenshot.

This appears to be an important piece of functionality that works in Chrome and in the Firefox Translations addon.

I think this must be related. If you go to this website with a lot of dynamic elements, they all are not translated: https://www.rbc.ru/business/27/07/2023/64c282139a79474703551c07?from=from_main_8. This makes the translation functionality unusable on such websites.

This could be related to Bug 1840705, but requires investigation.

Blocks: 1845772
Severity: -- → S3
Priority: -- → P3
See Also: → 1853217
OS: macOS → All
Hardware: Desktop → All

It takes a while probably because we are waiting for translation of the rest of the page before translating the popup, but this is now working.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1840705
Resolution: --- → DUPLICATE
See Also: 1840705

It takes a while probably because we are waiting for translation of the rest of the page before translating the popup, but this is now working.

I don't think such a long wait time was a case for the extension because it prioritizes viewport elements. It basically doesn't work on the web page like https://es.wikipedia.org/wiki/Espa%C3%B1a. Should we create a new bug for this or reopen this one?

Flags: needinfo?(gtatum)

I confirm that translating the page on https://es.wikipedia.org/wiki/Espa%C3%B1a and hovering over a link will translate the pop-ups only after some time (~1 minute in my case). Tested with Firefox 119.0RC1 and 120.0a1 (2023-10-16), Windows 10x64.

The viewport elements are prioritized for the initial translation queue in the Gecko implementation, but the queue is not dynamic after that. The queuing architecture is quite a bit different in Gecko compared to the extensions so it's likely that there is a behavior difference. I believe the perf fix for this is to implement Bug 1820252. Alternately, we could teach the translations engine to have different priorities. Currently the prioritization happens in the TranslationsDocument.

Flags: needinfo?(gtatum)
Status: RESOLVED → REOPENED
No longer duplicate of bug: 1840705
Resolution: DUPLICATE → ---

While it is slow, the elements are now translated, so we should track the slowness in a separate bug (and mark it as depending on bug 1820252 so we can test again once that bug is fixed).

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Duplicate of bug: 1840705
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: