Add language detection