Easiest way to do it is to create a custom resource loader like this:
public class DatabaseResourceLoader implements IStringResourceLoader {
(...)
@Override
public String loadStringResource(Class clazz, String key, Locale
locale, String style, String variation) {
return message
Most of our error messages are in property files, but we have a set of them
that we need to draw from a database. I'd like to add them to the resources
programmatically in the Application object at startup so that pages don't
know any difference between whether it was sourced from property files o