Adds language detection