BaseSiteService.getSite() creates user site that doesn't use localized page & tool titles

Description

The BaseSIteService.getSite( String id ) method will create a user worksite (e.g. My Workspace) if it doesn't exist. However, it just grabs the default page & tool titles and doesn't look for localized titles. So the system default may Spanish, for example, and all worksites created will have Spanish page/tool titles except for MyWorkspace.

Proposed Solution creates & uses the following new methods:
SitePage.localizePage(); // localize page title
BaseToolConfiguration.localizeTool(); // localize tool title

Activity

Show:

Anthony Whyte March 31, 2009 at 7:45 AM

1.0.x fix version redundant.

David Horwitz December 4, 2008 at 1:19 AM

closing based on Stephens testign of which exercises this code

Beth Kirschner November 21, 2008 at 7:02 AM

Ian, it would be great if we could get this into the next kernel release to coincide with Sakai 2.7. Thanks.

Beth Kirschner November 21, 2008 at 7:01 AM

Implemented as described – testing involves setting up a sakai instance with a non-english locale system default (see http://confluence.sakaiproject.org/confluence/display/I18N/Home), creating a new user and verifying the 'My Workspace' pages/tools use translated titles (e.g. Spanish). Additional testing should verify that using a english locale system default continues to work (i.e. no change in functionality).

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created November 20, 2008 at 10:33 AM
Updated April 25, 2018 at 3:19 PM
Resolved November 21, 2008 at 7:01 AM