registerForLocalization

A method which registers a component class or a stateless functional component for localization. When a component of that type is a direct or indirect child of LocalizationProvider, the language of the provider is used.

Parameters

component

ComponentClass<any>

The React component class that will use the internationalization methods.

In this article

Not finding the help you need?