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

The React component class that will use the internationalization methods.