Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiline Messages in Message Bundles

I would like to make use of the message bundles feature in grails, but always run into the problem that I need multiline messages for text (instructions or help text for example).

Is there a way to create multiline messages or do I have to create single line messages with <br />s or \ns in between?

Or is it the wrong approach for longer text?

like image 633
rdmueller Avatar asked Jul 29 '11 05:07

rdmueller


1 Answers

I believe you can simply end the line with a trailing slash (\) and continue on the next line in Java Properties files.

See: http://www.rgagnon.com/javadetails/java-0503.html

like image 150
OverZealous Avatar answered Sep 29 '22 09:09

OverZealous