provideLocalizationService

Provides a localization service. When the passed component is a direct or indirect child of LocalizationProvider, the returned service uses the language of the provider. To handle locale changes, call the method on each render.

Parameters

component

Component<undefined>

Returns

LocalizationService

In this article

Not finding the help you need?