5

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?

rdmueller
  • 10,742
  • 10
  • 69
  • 126

1 Answers1

10

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

OverZealous
  • 39,252
  • 15
  • 98
  • 100