Optional
deepWhether the resources should be merged deeply (eg for nested objects). Default: true
The locale ID the resources belong to, eg en-US
, nb-NO
, th-TH
…
The namespace the resources belong to, eg vision
, structure
, studio
…
Optional
overwriteWhether any existing resource keys for the namespace be overwritten. Default: true
An object of locale resources, or a function that resolves to one. The localization framework automatically handles ESM modules with a default export, since a common use case is to dynamically load a resource file on use. This is the preferred option, since it allows for lazy loading of locale resources on use.
A collection of locale resources for a given locale and namespace. In other words, an object of translated locale strings.