param Element
An element that provides a placeholder in a string of text
for a parameter.
The input for the parameter is generated by the application and depends on the context in which a message appears. In each string element, zero or more param elements can occur.
The type attribute for the param element indicates the type of data that this element substitutes. The types of data that can be substituted by the param element are
- currency
- fullDate
- fullTime
- integer
- longDate
- longTime
- mediumDate
- mediumTime
- percent
- shortDate
- shortTime
- string (default)
By knowing the type of the param element, you can apply different grammatical style and wording to the text surrounding this element.
The position of the param element in the string may change when the text is translated into other languages. Translators must pay special attention when they embed the param element in the translated text.