registerI18n

Register resources for a specific locale.

Signature

registerI18n(resourceStrings: IResourceStrings, locale: string): void

Parameters

  • resourceStrings: IResourceStrings

    Object containing the translated resource strings.

  • locale: string

    The 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