With ML Kit's on-device language identification API, you can determine the language of a string of text.
Language identification can be useful when working with user-provided text, which often doesn't come with any language information.
Broad language support. Identifies over one hundred different languages. See the complete list.
Romanized text support. Identifies Arabic, Bulgarian, Greek, Hindi, Japanese, Russian, and Chinese text in both native and romanized script.
|Simple language identification|
|"My hovercraft is full of eels."||
|"Dao shan xue hai"||
|"ph'nglui mglw'nafh wgah'nagl fhtagn"||
|"an amicable coup d'etat"||