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:

ParameterTypeDescription
lngstringLanguage code.
nsstringNamespace.

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