If activeLanguage = 'it', then these translation texts:
// l10n.it.json
{
"default": "Predefinito: {{ price | currency }}",
"code": "Con codice: {{ 0 | C : currencyDisplay = code }}",
"name": "Con nome: {{ 0 | C : currencyDisplay = name }}",
"symbol": "Con simbolo: {{ 0 | C : currencyDisplay = symbol }}"
}
And this employ will produce the indicated output:
|
|
The value of the currency must be provided as a 2 element array: the first element is a number, the second one is the currency code. See options later.