setDailyLang(lang)
Prebuilt
Custom
Sets the language for the call.
Behavior differs by mode:
- Prebuilt: updates all UI text immediately.
- Custom call object: stores the language preference internally with no automatic visual effect — you control your own UI. The
lang-updatedevent still fires andgetDailyLang()will return the updated value. This is useful for reading language configuration set at the room or domain level and applying it to your own UI.
Parameters
A language code or
'user'. Supported values:Return value
Returnsthis for chaining.