Access to localized resources (Calculation expression)
Returns a value from the localized entries, depending on the current user language.
Syntax:
[bundle, resource, default,... param]
|
Parameter name |
Description |
|
bundle |
The name of the resource bundle in language administration |
|
resource |
The resource name |
|
default value |
A default value, if the searched entry was not found |
|
param |
Each additional parameter after the default value represents a placeholder in the requested resource. Example with assumed resource 'mybundle/testresource' = '{1}: {0}': |
Example: [common,cancel]
Returns "Cancel"
Syntax:
[Bundle, resource, default... Parameterlist]
|
Parameter name |
Description |
|
Bundle |
The name of the resource bundle in language administration |
|
Resource |
The resource name |
|
Default value |
A default value, if the searched entry was not found |
|
Parameter list |
Each additional parameter after the default value represents a placeholder in the requested resource. Example with assumed resource 'mybundle/testresource' = '{1}: {0}': |
Use case example:
|
Syntax |
Comment |
Standard output DE |
Standard output EN |
|
[common,cancel] |
Access to a localization entry identified by Bundle and Resource name
|
Abbrechen |
Cancel |
|
[common, $input,NO_ENTRY] |
Access to a localization entry identified by Bundle and Resource name
|
Mit Text "cancel" als Eingabedaten: Mit Text "abort" als Eingabedaten: |
With the text 'cancel' as input data: With the text 'abort' as input data: |
|
[common, unsavedChanges.validation.msg,DEFAULT,[de.lobster.scm.base.address.Address,\$name]] |
Access to a localization entry with parameter |
Ungespeicherte Änderungen in Adresse |
Unsaved data in Address |