[ https://issues.apache.org/jira/browse/WICKET-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonas updated WICKET-1711: -------------------------- Attachment: wicket-1711.patch > Improve Locale fallback in BundleStringResourceLoader > ----------------------------------------------------- > > Key: WICKET-1711 > URL: https://issues.apache.org/jira/browse/WICKET-1711 > Project: Wicket > Issue Type: Improvement > Components: wicket > Affects Versions: 1.3.3, 1.4-M2 > Reporter: Jonas > Priority: Minor > Attachments: wicket-1711.patch > > > While https://issues.apache.org/jira/browse/WICKET-1415 fixed the NPE in > BundleStringResourceLoader, > Locale.getDefault() is a bad choice to get the locale from, as it is > determined by the default locale of the jvm > running the servlet container. I think it's a big coincidence if the jvm > default locale is actually the one the user wants > to see in the webapp - Session#getLocale() would probably be a better default. > Attached is a patch against current trunk (1.4) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.