[hibernate-issues] [Hibernate-JIRA] Commented: (HV-306) Falling back to system´s default locale if chosen locale was EN
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Apr 15 11:41:58 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36463#action_36463 ]
Emmanuel Bernard commented on HV-306:
-------------------------------------
Not a strong opinion but alternatively the build system could duplicate the file during packaging and we don't end up with a weird empty file.
The problem with this approach is that unit tests run in IDEs might not see that.
> 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: Gunnar Morling
> Fix For: 4.1.0
>
> Attachments: 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list