portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18362] New: - Template lookup mechanism ignores language changes made with the ChangeLanguage action.
Date Wed, 26 Mar 2003 12:15:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18362>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18362

Template lookup mechanism ignores language changes made with the ChangeLanguage action.

           Summary: Template lookup mechanism ignores language changes made
                    with the ChangeLanguage action.
           Product: Jetspeed
           Version: 1.4b3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Miscellaneous
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: kt@atira.dk


I suggest to use the JetspeedLocalizationService in stead of the (deprecated) 
LocaleDetector in the JetspeedTemplateLocatorService class.

Would this patch make sense?

The change could perhaps be as simple as :

diff -r1.15 JetspeedTemplateLocatorService.java
731c733,734
<           tmplocale = LocaleDetector.getLocale(data);
---
>           JetspeedLocalizationService locService =
(JetspeedLocalizationService)
TurbineServices.getInstance().getService(LocalizationService.SERVICE_NAME);
>           tmplocale = locService.getLocale(data);

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message