Skip to main content

Function: resolveCatalog()

function resolveCatalog(locale, overrides?): MessageCatalog;

Defined in: messages.ts:518

Builds the lookup chain for a locale: exact tag, then the bare language, then English. ar-JO therefore picks up the ar catalog without the host having to copy it.

Parameters

ParameterType
localestring
overrides?Readonly<Record<string, Readonly<Record<string, string>>>>

Returns

MessageCatalog