findUiLocale()
function findUiLocale(code): UiLocale | undefined;Finds a registered locale: exact code first (“fa-ir”), then the language (“fa”).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
code |
string |
Returns
Section titled “Returns”UiLocale | undefined