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:
- In the relevant
schema.json
files, add the localization key prefix. - In the relevant
swagger.yaml
files, add the localization key prefix. - In each schema.display_LOCALE.properties file, add the necessary
key/value pairs.
- The keys must match the required pattern to identify the appropriate API element.
- The value must be the localized text.