开发者

message properties dynamic key

Is it possible to have dynamic keys (not values) in message properties. Something like:

error.required.{0}= This field is required.

It might n开发者_开发问答ot be standard approach, but I have scenario where it kind of makes sense for me to do that.

Thanks!


Generally it would be something like:

error.required[{0}] = 'This field is required'

Clarifying which language you're using would help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜