Код: Выделить всё
Input text: "ру́сский язы́к"
Output text: "Russian"
Input text: "中文"
Output text: "Chinese"
Input text: "にほんご"
Output text: "Japanese"
Input text: "العَرَبِيَّة"
Output text: "Arabic"
Подробнее здесь: https://stackoverflow.com/questions/391 ... ce-of-text