Well, I knew that this question was asked several times, but I still could not fix it with an “affordable” solution. Hope you have any further ideas or ideas on how to discover my suggestions - this is English in python. Affordable Solution:
WORKING DECISION
Finally, after a series of attempts, this is a working solution (alternative to the list above)
References
You can try the guess_language library that I found through the Miguel Grinber The Flask Mega Tutorial . It looks like it supports Python 2 and 3, so it should be ok.
Perhaps you can use hidden Markov models to detect languages, each language will have its own characteristics.