WPT details: Covered by existing WPTs under external/wpt/ai/language_detection/ (detector.https.window.js, detector-locale.https.window.js, availability-detached-crash.https.html, etc.) as well as cross-platform PlatformBrowserTest coverage in LanguageDetectionModelServiceBrowserTest (android_browsertests).
Exposes the LanguageDetector JavaScript Web API on Chrome for Android (Clank). This allows web applications to detect text languages locally on mobile devices using fast, privacy-preserving, and offline-capable on-device machine learning models and not rely on cloud endpoints.
Exposing the Language Detector API on Chrome for Android allows web applications to perform fast, privacy-preserving, and offline-capable language identification directly within mobile browsers.
Explainers: https://github.com/webmachinelearning/translation-api