Обнаружение языка Python

# Install
# pip install langdetect

from langdetect import detect
result = detect("War doesn't show who's right, just who's left.")
print(result)

# Result:
'en'
Shanti