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:| Value | Language |
|---|---|
'da' | Danish |
'de' | German |
'en' | English |
'es' | Spanish |
'fi' | Finnish |
'fr' | French |
'it' | Italian |
'jp' | Japanese |
'ka' | Georgian |
'nl' | Dutch |
'no' | Norwegian |
'pl' | Polish |
'pt' | Portuguese (Portugal) |
'pt-BR' | Portuguese (Brazil) |
'ru' | Russian |
'sv' | Swedish |
'tr' | Turkish |
'user' | Follow the browser’s language preference (falls back to English if unsupported) |
Return value
Returnsthis for chaining.