Use Text Analytics, an Azure Cognitive Solution which helps to detect the language of a text.
- Input: a text to send to the API.
- Output: the name of detected language, with score of confidence.
- Special requirement(s): Keys and Endpoint should not be exposed.