Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.4b3
-
None
-
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);