Limited Availability
id: languagedetector
Language detector
The
LanguageDetector API identifies the likely natural language that some text is written in. You can use this API to supplement machine translation when the source source language is not known.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
138
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
148
Supported
Mobile Browser Engine Support
Chrome Android
—
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.LanguageDetector ↗
api.LanguageDetector.availability_static ↗
api.LanguageDetector.create_static ↗
api.LanguageDetector.destroy ↗
api.LanguageDetector.detect ↗
api.LanguageDetector.expectedInputLanguages ↗
api.LanguageDetector.inputQuota ↗
api.LanguageDetector.measureInputUsage ↗