MessageProps.locale property

If set, overrides the locale of the nearest MessageProvider.

Signature:

locale?: string | string[];