registerI18n
Register resources for a specific locale.
Signature
registerI18n(resourceStrings: IResourceStrings, locale: string): void Parameters
- resourceStrings:
IResourceStringsObject containing the translated resource strings.
- locale:
stringThe name of a locale. A string using the BCP 47 language tag. If not a valid one, will register to the default 'en-US' locale.
Returns
void