Localization information can be added to the data placeholders of transalations in the following form:
{{ key | type : option1 = value1; option2 = value2 ... }}
where
key | The order or the name of the value to interpolate. | |
type | The type of the localization. The possible types are | |
N or number |
for number formatting | |
P or percent |
for percent formatting | |
C or currency |
for currency formatting | |
D or datetime |
for date and time formatting | |
R or plural |
for plural rules | |
options | Optional information depending on the type of the localization. |
The rules of the active language are applied to the value to interpolate.