getDailyLang()
Prebuilt
Custom
Returns the current language configuration — both the language explicitly set and the language actually in effect. These differ when langSetting is 'user', which defers to the browser’s language preference.
In custom call object mode, this reflects any language configured at the room or domain level, which you can read and apply to your own UI.
Return value
Returns aPromise<{ lang: DailyLanguage, langSetting: DailyLanguageSetting }>:
The language currently in effect (e.g.
'en', 'fr', 'de').The value explicitly set via
setDailyLang() or the room/domain configuration. May be a language code or 'user' (follow the browser’s language preference).