How to read and write multiline (java spec) .properties in python with jproperties? [duplicate]
You have to use backslash (\
) at the end of the line. This question was already asked here.
Your problem is probably because HTML doesn't care about new line. If you want to display a new line you have to use the <br />
tag.
You can include HTML code in your properties file and the use the escape="false"
to avoid escaping the HTML tags when generating the HTML.
TXT_ABOUT = first line<br />\
second line<br />\
third line.
JSF code:
<h:outputText value="#{txt.TXT_ABOUT}" escape="false" />