Function: localize()
localize(
component
,key
,params
):string
Defined in: packages/react-page-renderer/src/componentHelpers.ts:47
Returns the localized phrase identified by the specified key. The placeholders in the localization phrase will be replaced by the provided values.
Parameters
component
The component requiring the localization.
AbstractComponent
| AbstractPureComponent
key
never
Localization key.
params
Values for replacing the placeholders in the localization phrase.
Returns
string
Localized phrase.