In the screenshot above, the label has been directly set to 'My Data'. The disadvantage is that translation to other languages does not work. The preferred approach is to enter a key in the label field that has its counterpart in the strings properties files of IAM.
For example:
- Set the label in the configuration to:
mycompany.token-controller.my-data.label
- Add the following to
strings_de.properties
:mycompany.token-controller.my-data.label=Meine Daten
- Add the key and its translation to the other properties files depending on the translations you want to support.
The UI will then automatically transform the key to its translation in the UI.