handle the {index} parameter like a native MessageFormat argument.

For example that allows to specified leading zero by using
{index,number,0000}
Please use `"0"` instead of `0`, because it is clearer.