Provide multi-language support for your standalone Constellation DX component by integrating it with out-of-the-box Constellation localization features.

To ensure that your standalone Constellation DX components are properly localized,
  • integrate your component with the appropriate localization APIs
  • externalize your static string data into a component-specific localizations.json file

Your localizations.json file must be added to your component’s root folder to ensure that it is packaged with your component when the component is published.

The following code contains an example of a localizations.json file:
{
  "fields": {
    "Edit": "Edit",
    "Navigate to step": "Navigate to step"
  }
}

For more information about localizing your Constellation application, see Internationalization and localization.