Appearance
@swapped/connect-sdk / locales / loadCatalog
Function: loadCatalog()
loadCatalog(
locale):Promise<LocaleCatalog|null>
Defined in: src/locales/locale.load.ts:123
Fetch one locale catalog once per page. Later calls reuse the in-flight or completed request. Failures resolve to null (English stays the floor).
Parameters
locale
string
Returns
Promise<LocaleCatalog | null>