You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by bu...@apache.org on 2003/03/26 13:15:46 UTC

DO NOT REPLY [Bug 18362] New: - Template lookup mechanism ignores language changes made with the ChangeLanguage action.

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