Intent to Prototype: Language Detector and Translator APIs on Android

143 views
Skip to first unread message

Jaewon Lee

unread,
Jul 29, 2026, 5:17:23 PMJul 29
to blink-dev, Reilly Grant, Mike Wasserman, Elizabeth Sweeny, Kenji Baheux, Etienne Noël, Nathan Memmott

Contact emails

jae...@google.com


Explainer

https://github.com/webmachinelearning/translation-api


Specification

https://webmachinelearning.github.io/translation-api


Summary

Exposes the LanguageDetector and Translator JavaScript Web APIs on Chrome for Android (Clank). This allows web applications to detect text languages and perform text translation locally on mobile devices using fast, privacy-preserving, and offline-capable on-device machine learning models without relying on cloud endpoints or increasing site download size.


Blink component

https://issues.chromium.org/issues?q=componentid:1583316


Web Feature ID

Translator

Languagedetector


Motivation

Exposing the Language Detector API and Translator API on Chrome for Android allows web applications to perform fast, privacy-preserving, and offline-capable text processing directly within mobile browsers. Language detection and translation are complementary capabilities in real-world web applications—such as chat apps, comment streams, and social feeds—where developers must first identify an unknown input language before translating it. Routing these APIs to platform-native machine learning engines eliminates reliance on cloud translation endpoints or heavy third-party scripts, enabling seamless on-device AI capabilities while establishing feature parity across desktop and mobile web platforms.


Initial public proposal

Translator I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/eCE8jIW2auo


Language Detector I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/sWcHBe9wpbo


Goals for experimentation

Demonstrate implementability of these APIs using Android's ML Kit framework


Requires code in //chrome?

True


Requires browser-layer code in //chrome/browser/on_device_translation and Java/JNI glue in //chrome/android to interface with Android ML Kit system services and manage Play Feature Delivery dynamic module downloads.


Tracking bug

https://crbug.com/428227642


Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5106126157905920?gate=5168017576165376


Jaewon Lee

unread,
Aug 20, 2026, 8:38:12 PMAug 20
to blink-dev, Jaewon Lee, Reilly Grant, Mike Wasserman, Elizabeth Sweeny, Kenji Baheux, Etienne Noël, Nathan Memmott
Hi blink-dev,
We are posting a quick update regarding the previously sent Intent to Prototype for the LanguageDetector and Translator APIs on Android.

We have split LanguageDetector and Translator into separate ChromeStatus entries to decouple their execution paths:

Daniel Bratell

unread,
Aug 21, 2026, 3:52:05 AMAug 21
to Jaewon Lee, blink-dev, Reilly Grant, Mike Wasserman, Elizabeth Sweeny, Kenji Baheux, Etienne Noël, Nathan Memmott

Not really related to the web APIs, but since Chrome/Chromium has a pre-LLM language detector (cld3?), I get curious about how TFLite and that one compare? Could we drop one or the other in favour of the best one? If not now, maybe in a reasonable future timeline?

/Daniel

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3c0bf4e9-d58d-4fc4-b98f-92935691c1f0n%40chromium.org.

Jaewon Lee

unread,
Aug 24, 2026, 12:55:38 PMAug 24
to Daniel Bratell, blink-dev, Reilly Grant, Mike Wasserman, Elizabeth Sweeny, Kenji Baheux, Etienne Noël, Nathan Memmott
Thanks for your question Daniel, we're currently looking into it!


Reply all
Reply to author
Forward
0 new messages