Hi Miguel! An way to do that would be injecting ResourceBundle
(VRaptor will provide a safe implementation that doesn't throw a
exception for missed keys) and using its getString method, just like:
@Inject private ResourceBundle bundle
...
result.include("message", bundle.getString("user.login.error"));
It should work as you're expecting... but if it is a validation msg,
maybe you'd like to use our Validation API, you can see some docs
boolean loginError = // ...
validator.addIf(loginsError, new I18nMessage("user.login.error"));
validator.onErrorUsePageOf(this).loginForm();
The I18nMessage will load the message from ResourceBundle. []'s