Detects which language you are currently typing in