We utilize Java's MessageFormat API. The syntax documentation is a little bit hard to read, but it can be found here: MessageFormat
According to the doc, these are all the options:
- {0}
- {0,number}
- {0,number,integer}
- {0,number,currency}
- {0,number,percent}
- {0,number,.......} according to the format defined by DecimalFormat
- {0,date}
- {0,date,short}
- {0,date,medium}
- {0,date,long}
- {0,date,full}
- {0,date,.......} according to the format defined by SimpleDateFormat
- {0,time}
- {0,time,short}
- {0,time,medium}
- {0,time,long}
- {0,time,full}
- {0,time,.......} according to the format defined by SimpleDateFormat
- {0,choice,.......} according to the format defined by ChoiceFormat
Unfortunately, ChoiceFormat is the most complex thing we can support today.
I will make sure we are tracking this limitation for a potential future enhancement.