是否可以在messages.properties中拥有跨越多行的属性?

时间:2010-09-14 09:31:31

标签: internationalization properties

是否可以在messages.properties中拥有多行的属性?

e.g。 (我的属性如下)

my.property=This property will
be in two lines
my.property.two=Another property

我需要这个帮助文本,我将把它放在属性文件中......我不想做附加。

任何帮助将不胜感激。谢谢!

1 个答案:

答案 0 :(得分:3)

是的,这是可能的。

像这样写(使用反斜杠\作为转义字符):

my.property=This property will \
be in two lines
my.property.two=Another property
相关问题