在我的国际资源中,代码是
:post_badge_format = You've earned the "{0}" badge for {1}.
在我的 java
代码:String messageContent = MessageFormat.format(messageType, paramValues);
messageContent 的预期值应该是这样的:
You've earned the "XXX" badge for XXX.
但是messageContent的实际值是这样的:
You've earned the "{0}" badge for {1}.
为什么?