Portal properties - Regional settings - Global language constants - Edit language constant
Name
Provide the language constant with a name here. This name will be used later to address the constant in each scope. The name has to be unique. Only use capital letters and avoid using special characters and spaces. The name must start with a letter, followed by letters, numbers or _.
Type
Here, you can specify the scope of a language constant:
- Constant is available everywhere
- Constant is only available in JavaScript
The constant can neither be used as a title in applications nor in Velocity.
- Constant is evaluated as a Velocity expression.
The constant is not available in JavaScript.
 |
In Velocity, the constants can be addressed as follows:
Global constants:
$I18N.get("NAME")
Application constants:
$I18N.getByApp(" APPGUID", " NAME")
|
Title
You can give the language constant a title for each of your different portal languages. The title corresponds to the value that the constant has - it will be displayed when the constant is used in the selected area.