Returns a string from a string model. The text will be returned in the user's language.
Namespace
xmlns:AS="http://schema.advantages.cz/AsapFunctions"
Syntax
Parameters
Name | Description |
---|---|
name | Name of the string. |
arg0 | An (optional) argument to be formatted into the string, replacing {0}. |
arg1 | An (optional) argument to be formatted into the string, replacing {1}. |
... arg9 | There can be up to 10 arguments passed to this function. |
Remarks
This function is part of the localization infrastructure.
Example
This example produces a localized error message to the user.
The string is defined as:
The number cannot be higher than 100. Number passed: {0}
Source XML
Stylesheet