In my international resources, the code
:
post_badge_format = You've earned the "{0}" badge for {1}.
In my java
code:
String messageContent = MessageFormat.format(messageType, paramValues);
The expected value of messageContent should look like this:
You've earned the "XXX" badge for XXX.
But the actual value of messageContent looks like this:
You've earned the "{0}" badge for {1}.
Why?
source share