Welcome to the new Daily Docs. Please let us know what you think.

getDailyLang()

getDailyLang()

Compatibility:
Prebuilt
Custom

Returns a Promise that resolves to { lang: <language>, langSetting: <specified language> }, telling you both the language actually in effect and the language you've specified.