Closed Bug 1844521 Opened 2 years ago Closed 2 years ago

GeckoView Session Translations API support

Categories

(Firefox for Android :: Translations, enhancement, P1)

All
Android
enhancement

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox118 --- wontfix
firefox119 --- wontfix
firefox120 --- fixed

People

(Reporter: jonalmeida, Assigned: olivia)

References

Details

(Whiteboard: [fxdroid][foundation][geckoview:m119][geckoview:m120])

Attachments

(1 file, 1 obsolete file)

We need to add an API controller to: turn the feature on/off, change languages, fetch and delete language models, etc.

No longer blocks: 1844518
Depends on: 1844518
Whiteboard: [fxdroid][foundation]
Assignee: nobody → ohall
Severity: -- → S3
Priority: -- → P1
Whiteboard: [fxdroid][foundation] → [fxdroid][foundation][geckoview:m119]
Component: General → Translations
Product: GeckoView → Fenix
Summary: Add GeckoView Translations API support → Add GeckoView Session Translations API support

Readjusting this bug for GV Session API changes needed. Runtime GeckoView Translations API support is now bug 1844518.

No longer depends on: 1844518
See Also: → 1844518
Blocks: 1853055

This patch lands an initial GeckoView session API for using toolkit
translations. This patch adds an initial session translate delegate,
functions to translate, detect languages, and restore to an original
page. The runtime API will follow in bug 1852313 and additional session
API changes are planned.

This patch lands an initial GeckoView runtime API for using toolkit
translations. Most of the runtime functionality revolves around querying
for language options,language model state, and managing language models.

Depends on D189228

Comment on attachment 9355079 [details]
Bug 1844521 - GeckoView Initial Runtime Translations API

Revision D189229 was moved to bug 1852313. Setting attachment 9355079 [details] to obsolete.

Attachment #9355079 - Attachment is obsolete: true
Whiteboard: [fxdroid][foundation][geckoview:m119] → [fxdroid][foundation][geckoview:m119][geckoview:m120]
Blocks: 1844523
Summary: Add GeckoView Session Translations API support → GeckoView Session Translations API support
Pushed by ohall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c2d783060b0 GeckoView Initial Session Translations API r=geckoview-reviewers,kaya,calu
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

:Olivia is this something you want to mention in the fx120 release notes? https://wiki.mozilla.org/Release_Management/Release_Notes_Nomination

Flags: needinfo?(ohall)

Hi Dianna, thanks for noticing this patch for the release notes! This patch is background work for translations and only noteworthy right now for GeckoView embedders. (Patch doesn't include UI or a web API for translations.) GeckoView developers will be informed via the GeckoView CHANGELOG.md in-tree notes .

Flags: needinfo?(ohall)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: