I have a form which lets users input text snippets. So how can figure out the language of the entered text?
Specifically these languages for now:
Arabic: هذه
You could use https://detectlanguage.com/ which is a webservice build around CLD2.