Get the Newsletter

addResourceBundle

A Method

addResourceBundle(lng: string, ns: string, resources: any, deep?: boolean, overwrite?: boolean): void

Adds a complete bundle. Setting deep param to true will extend existing translations in that file. Setting overwrite to true it will overwrite existing translations in that file.

Parameters

lng: string
ns: string
resources: any
deep?: boolean
overwrite?: boolean