Skip to main content
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-updated event still fires and getDailyLang() 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.
The language can also be set at the domain, room, or token level. See Changing the language in Daily Prebuilt for the full guide including priority order.

Parameters

lang
DailyLanguageSetting
required
A language code or 'user'. Supported values:
ValueLanguage
'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

Returns this for chaining.

Example

call.setDailyLang('fr');

call.on('lang-updated', ({ lang, langSetting }) => {
  console.log('Language in effect:', lang);       // 'fr'
  console.log('Language setting:', langSetting);  // 'fr'
});

See also