TranslationsCustomizationProvider
Home > @gooddata/sdk-ui > TranslationsCustomizationProvider
TranslationsCustomizationProvider variable
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
This provider is here because of the need for customization of translations.
Signature:
TranslationsCustomizationProvider: React.FC<ITranslationsCustomizationProviderProps>
Remarks
If you need to change translations based on some setting flag, use this provider at the top of you your react tree.
You can see that the provider accepts render function and customize function as parameters. Using these two function you can customize your translations.