Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-257

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.4b3
    • None
    • Miscellaneous
    • None
    • Operating System: Windows XP
      Platform: PC
    • 18362

    Description

      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);

      Attachments

        Activity

          People

            morciuch@apache.org Mark Orciuch
            kt@atira.dk Kim Thrysøe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: