【发布时间】:2021-03-12 06:55:21
【问题描述】:
我的意思是,例如,这是我的 messages.properties 文件:
BFF.ERROR.PRODUCT_NOT_FOUND = Product with {0} not found
如果参数数组为空,我想这样做,客户端不应该看到这样的消息
未找到 {0} 的产品
我想让用户看到这个
找不到产品。
我可以这样做吗?
BFF.ERROR.PRODUCT_NOT_FOUND = Product with {0} not found | Product not found
【问题讨论】:
标签: java spring spring-boot internationalization