I’ve never used the resource bundles, so I’m going to throw a shot in the dark until someone can correct me. I would assume that you would either need to put HTML (
tags) in the resource bundle, or replace the line breaks with HTML equivalents when displaying that string.
It looks like there’s also a handle formatRBString() method that allows you to put place holders in your bundle which you replace when you use it:
HomeSliderCaption2=Get ahead {1} with our bespoke {1} range of headrest covers
#getPlugin(“resourceBundle”).formatRBString(getResource(‘HomeSliderCaption2’),’
’)#
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbi18n
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com