Datasets were taken from https://github.com/carykh/neuralNetworkLanguageDetection. Gives an accuracy of about 90% between Mandarin and English and an accuracy of 70% between similar languanges such as german and dutch or german and english.
Run pip install -r requirements.txt
to install the dependencies.