Web App Translation
The adapter returns the localized values for defined translation keys.
Properties
Operation | Defines the operation executed by the adapter. Possible values:
|
Parameters
Adapter | Main class of the adapter (Do not change!) Possible values:
|
language | Language for which the values are read. Possible values: String with the defined language key from the web app definition |
Translation key/-s that is to be read.
Possible values: String with the defined translation key/-s from the language file. |
Status values
1 | The operation was executed successfully. |
-1 | An error occurred during the operation's execution. |
Output
Language file was read successfully:
XML<?xml version="1.0" encoding="UTF-8"?> <Result> <Output key="loginLabel" value="User"/> <Output key="passwordLabel" value="Password"/> </Result>
No language was set:
XML<?xml version="1.0" encoding="UTF-8"?> <Result>No language set</Result>
No translation key was set:
XML<?xml version="1.0" encoding="UTF-8"?> <Result>No keys set</Result>