Localized site properties not being used

Description

I used the Sakai community nightly server for sakai 2.9.x at this URL

http://nightly2.sakaiproject.org:8087/portal/

today (July 25, 2012) to verify this problem. I mention this detail, in case it's important to the specific code that was running at that time.

1) I created a Test site. I set the site information language to "French (France)". I added Announcements and one Lesson Builder tool.
2) I visited the site I had created. I looked at the announcements tool to verify that my language was indeed set to French. I received a localized experience in French for the announcements tool.
3) I visited the lesson builder tool. None of the text in lesson builder appeared in French, it all appeared in English.

Looking at the source code, it seems like lesson builder ships with a 'messages_fr.properties' file that should contain localized versions of many strings. One example would be the "Add Text" link. In the default english messages.properties, this is under the key:

simplepage.text=Add Text

in the messages_fr.properties file this is localized as:

simplepage.text=Ajouter texte

however, what shows in LessonBuilder in a French site is "Add Text"

Attachments

2
  • 26 Jul 2012, 03:08 PM
  • 24 Jul 2012, 03:34 PM

Activity

Show:

Matthew Jones August 2, 2012 at 2:44 PM

I added the merge flag for 1.4.x to this ticket and verified that this is fixed in trunk. If it gets merged by tomorrow we can include it in the next b07 release.

Should also look at other tools in core that might have this problem.

Matthew Jones July 30, 2012 at 6:21 PM

Updated rsf version

Steve Swinsburg July 28, 2012 at 2:11 PM

Yuki Yamada July 26, 2012 at 3:08 PM

I created a workaround patch.
This issue has been caused because RSF has not supported the site language. This issue will be resolved if RSF 0.7.6 is released formally because it will support the site language.

Details of RSF:
https://github.com/rsf/SakaiRSF/commit/afe1b0572fe20820becfb18f1f76597be87d0a0e

Charles Hedrick July 24, 2012 at 3:56 PM

I didn't actually set up the i18n for Lessons. It works, but apparently only if you change your own language. I'll look into how to use the site language.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created July 24, 2012 at 3:34 PM
Updated April 18, 2018 at 7:31 AM
Resolved July 30, 2012 at 6:21 PM

Flag notifications