← Chrome 157 reference

v157 · web ai · android · covered on mdn

Language Detector API on Android

The LanguageDetector Web API — on-device, offline-capable text-language detection — arrives on Chrome for Android in milestone 157. The API itself is not new: Chrome desktop has shipped it since 138 and Edge since 148. This milestone extends the existing, MDN-documented surface to Android; web applications can detect text languages locally on mobile devices without sending content to a server.

this feature is documented on MDN

MDN: LanguageDetector API

MDN’s reference covers the interface in full — create(), availability(), detect(), download progress, quotas, examples, specifications, and browser compatibility (verified substantive, 2026-11-01). The Android availability is a platform-rollout fact layered on that same surface; gendn doesn’t duplicate the API reference here.

Why gendn doesn't duplicate MDN: this site exists for Chrome features that have no MDN reference yet. When MDN covers a feature completely, the honest page is a pointer to the canonical reference plus the shipping metadata MDN doesn't track — duplicated prose would only drift out of sync.

quick reference

The changePlatform expansion, not a new API: “Exposes the LanguageDetector JavaScript Web API on Chrome for Android (Clank)” (ChromeStatus summary), using on-device models — fast, privacy-preserving, offline-capable
Chrome statusListed in the milestone=157 listing (fetched 2026-11-01; the listing is authoritative for filing); the API record sets Android 157 (no desktop milestone on this record — desktop shipped separately in 138). Finch name LanguageDetectionAPI; no flag required
SpecTranslator and Language Detector APIs — WICG/Web Machine Learning draft (the record’s spec link)
MDNLanguageDetector
Browser compatibilityBCD api/LanguageDetector.json (fetched 2026-11-01): Chrome desktop 138 (“availability may be subject to geographical restrictions”), Edge 148, Firefox and Safari false, and chrome_android still false — BCD has not yet recorded this Android-157 rollout (freshness gap vs the listing; disclosed here)
BaselineLimited availability per webstatus.dev languagedetector (queried 2026-11-01): Chrome 138 (2025-06-24), Edge 148 (2026-05-07); no Firefox or Safari
ChromeStatus5087964794322944 — Language Detector API on Android
Mobile constraintsOn-device model download and storage apply on Android: feature-detect with "LanguageDetector" in self, check LanguageDetector.availability() before create(), and treat downloadable/downloading states per MDN’s documented lifecycle rather than assuming instant readiness on constrained devices
Interactive demosChrome Platform Showcase — Language Detector API on Android (route HEAD-checked 200, 2026-11-01)
Source: MDN LanguageDetector, fetched 2026-11-01; chromestatus.com/feature/5087964794322944; BCD api/LanguageDetector.json; webstatus.dev