Script to detect language

Script to detect language