[
http://opensource.atlassian.com/projects/hibernate/browse/HV-507?page=com...
]
Hardy Ferentschik commented on HV-507:
--------------------------------------
As mentioned on the thread. We already have a way to do this:
{code}
Validator validator =
Validation.byProvider(HibernateValidator.class)
.configure()
.messageInterpolator(
new ResourceBundleMessageInterpolator(
new PlatformResourceBundleLocator( "my_bundle" )))
.buildValidatorFactory()
.getValidator();
{code}
And there is also BVAL-217 which addresses the issue from spec point of view. So far we
don't have any specific properties we use within HV and I don't think this is a
good enough usecase to start with it.
Specify the name of the resource file via a property
----------------------------------------------------
Key: HV-507
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-507
Project: Hibernate Validator
Issue Type: New Feature
Components: engine
Affects Versions: 4.2.0.Final
Reporter: Emmanuel Bernard
Priority: Minor
See
https://forum.hibernate.org/viewtopic.php?f=26&t=1011623&p=244705...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira