resolveUiLocale()
function resolveUiLocale(locale?, overrides?): ResolvedUiLocale;Resolves the uiLocale and labels props of the viewer and designer.
Unknown codes fall back to English; overrides win over the locale.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
locale? |
string | UiLocale | null |
overrides? |
Partial<Labels> |