Contact emails [email protected]
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 <https://webstatus.dev/features/translator> Languagedetector <https://webstatus.dev/features/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 -- 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 [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANA9qLK56si_%3D0c1G6XL9KYMk44-kFy_naiPcyDWmQ5ywDjotw%40mail.gmail.com.
