provideIntlService

Provides an internationalization service. When the passed component is a direct or indirect child of IntlProvider, the returned service uses the locale of the provider. Otherwise, uses en as a default locale. To handle locale changes, call the method on each render.

Parameters

component Component

Returns

IntlService

 /