Summary: | i18n:message uses wrong resource bundle | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Johann Uhrmann <johann.uhrmann> |
Component: | I18N Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | ||
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://cvs.apache.org/builds/jakarta-taglibs/nightly/projects/i18n/jakarta-taglibs-i18n-20040613.zip | ||
Attachments: | This patch fixes the problem for us ie. browser language setting works as expected. |
Description
Johann Uhrmann
2003-02-10 16:45:07 UTC
The following code fragment seems to be a work-around for this bug: <i18n:bundle baseName="myBundle" locale="<%= request.getLocale() %>" /> However, this considers only the first language of the web browser. Created attachment 5157 [details]
This patch fixes the problem for us ie. browser language setting works as expected.
Johann and Ari, This issue seems similiar to bug 18525, which I just fix. Could you please check if the next nightly build fix it? Thanks, Felipe PS: looks like there is a problem on the nightly builds generation (last one was on 05/31), so you may need to wait a couple of days until you can check it (you need a nightly build more recent then 06/04), so please keep an eye on http://cvs.apache.org/builds/jakarta-taglibs/nightly/projects/i18n/ The nightly builds are back. Please try to reproduce the issue using the following link: http://cvs.apache.org/builds/jakarta-taglibs/nightly/projects/i18n/jakarta-taglibs-i18n-20040613.zip And let me know the result. Felipe |