Adding localized text for new API elements

You can add localized text for new API elements for a locale that is already present in the base configuration. This could be required in the following situations:

  • You extend a base configuration resource to include additional fields.
  • You generate new endpoints using the REST endpoint Generator.

In this case, you must do the following:

  1. In the relevant schema.json files, add the localization key prefix.
  2. In the relevant swagger.yaml files, add the localization key prefix.
  3. In each schema.display_LOCALE.properties file, add the necessary key/value pairs.
    1. The keys must match the required pattern to identify the appropriate API element.
    2. The value must be the localized text.