Skip to content

ResourceStore.getResourceBundle method

ResourceStore › getResourceBundle

Unofficial

Gets a resource bundle for a language and namespace.

Signature:

getResourceBundle(lng: string, ns: string): Record<string, unknown>

Parameters:

Parameter Type Description
lng string Language code.
ns string Namespace.

Returns: Record<string, unknown>The resource bundle.