Console language detection fix