Skip to content

findUiLocale()

function findUiLocale(code): UiLocale | undefined;

Finds a registered locale: exact code first (“fa-ir”), then the language (“fa”).

Parameter Type
code string

UiLocale | undefined