Use some classic machine learning techniques to build a document classifier for language identification.
http://langue.herokuapp.com