[
http://opensource.atlassian.com/projects/hibernate/browse/HV-306?page=com...
]
Hardy Ferentschik commented on HV-306:
--------------------------------------
The empty resource bundle works well from a application point of view, but it creates the
'problem' that IDEs which have a resource bundle editor complain about missing
translations. That's what I am seeing in Idea at the moment. The copying approach
would help in this case, but that might cause problems when running tests in the IDE.
I think with JDK6 we could work with a custom implementation of ResourceBundle.Control,
but that's not an option for now :(
Falling back to system´s default locale if chosen locale was EN
---------------------------------------------------------------
Key: HV-306
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-306
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.0.2.GA
Reporter: uwe schaefer
Assignee: Hardy Ferentschik
Fix For: 4.1.0
Attachments: HV-306.diff, ValidationI18NTest.java
When requesting interpolation for an ENGLISH locale, it is not found and the
ResourceBundleMessageInterpolator falls back to the System´s default.
Effect is, if GERMAN or FRENCH is the default Locale, you´re not going to see the english
text, ever.
I´d suggest to at least copy the
ValidationMessages.properties
to
ValidationMessages_en.properties
to make it work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira