Use variables in translations

For certain keys, substitution variables are supported in their translations. Such variables are replaced with actual values calculated during product operation. If a key supports variables, they are displayed under the Translation field. Click the variable to include it in the translation.

Example

The key Errors.RequiredLength [maxlength] is used to display a warning message regarding the required password length. The variable {{maxlength}} is supported for this key. In the provided example, the variable is included in both the default English translation and custom one. When the message is displayed in the WebUI, the variable is substituted with the actual value representing the maximum number of characters allowed for user passwords.

Alternatively, the variable can be omitted to use a less detailed message, such as “The password doesn’t meet the length requirement.”

Insert a variable in a translation