Resource Bundles and {X} substitution

This is a question somebody made a while back but I don't remember who
or where.

So this is to answer this. The resource bundle already supports
translations of {1} inside of resource bundle keys via the
formatRBString() method.

So if you need to do substitutions, you can use this method.

The next version of ColdBox will support a facade for it via a
getResource(key, substitute values)

Luis.

Hi Luis,

That was me, thanks for that.

Do you have any work why using a course like

/:year-numeric/:month-numeric/:day-numeric?/:blogTitle?

Doesn't get converetd correctly. If I remove the -numeric it works? I was
forced to add the numeric to stop another course from being run from this
course. Hope that makes sense.