adorable-teacher-40643
04/11/2026, 5:54 AMtall-airline-16756
04/11/2026, 5:54 AMtall-airline-16756
04/11/2026, 5:54 AMlanguage="multi") to detect language per transcript event.
• Intercept those transcript events, extract the detected language code, and map it to your TTS language codes.
• When a change is detected, call your TTS update method (for example update_options()) to switch TTS language/voice mid-call.
• Optionally publish the current language as a participant attribute so the frontend can display it.
If you tell me which option (voice vs text) and your STT/TTS providers, I’ll give concrete code snippets or steps.
Sources: Build a multilingual voice agent that automatically switches languages | Li... | Build a multilingual voice agent that automatically switches languages | Li... | LiveKit turn detector plugin | LiveKit Documentation, with interactive elements