Filter the language string to get only the language.