[sakai2-tcc] Roster2 to replace Roster

Matthew Jones matthew at longsight.com
Fri Sep 13 07:25:03 PDT 2013


This was the same (and really only issue) I had with the date picker.
https://jira.sakaiproject.org/browse/SAK-23662

What the implementation there did was use a maven plugin to create i18n
specific js files rather than use the internal Sakai system, so like you
said it's inconsistent.

I was wondering if it would be easier to just write a simple direct point
with custom actions for i18n.so we don't have to keep rewriting this?

Would something like this work? Then the i18n files would just have to be
deployed in the usual place.

/direct/i18n/string/bundleName/key (GET)  -- Returns a specific string
json/xml/html encoded

getString(bundleName,key) {
  return ResourceBundle.getBundle(bundleName,
getUserPreferredLocale()).getString(key);
}

/direct/i18n/bundle/bundleName (GET) -- Returns all strings in the bundle
json/xml/html encoded

getBundle(bundleName) {
  return ResourceBundle.getBundle(bundleName, getUserPreferredLocale();
}





On Fri, Sep 13, 2013 at 10:10 AM, John Bush <jbush at anisakai.com> wrote:

> There's at least one thing I'd like to see addressed.
>
>
> https://source.sakaiproject.org/contrib/roster2/trunk/roster-app/src/webapp/roster-translations-ca.js
>
> I don't find that an acceptable way of doing localization.  Its not
> consistent with the rest of Sakai, and it won't work with the dynamic
> manipulation of bundles.  It makes it harder for anyone who is used to
> working with properties to maintain this stuff, since tools won't
> support this arbitrary js format.
>
> It easy to address, I had to do it for gb2.  You need to just create a
> servlet that loads this the data from the ResourceLoader and then
> transforms it into your javascript format.
>
> Also, I'd like verification that there aren't any FERPA issues
> introduced.   I see https://jira.sakaiproject.org/browse/RSTR-16, but
> its worth asking just to be sure.
>
> On Fri, Sep 13, 2013 at 6:54 AM, Steve Swinsburg
> <steve.swinsburg at gmail.com> wrote:
> > I proposed it years ago. Better integration, better support, more
> features, same UI as old roster tool.
> >
> > Cheers,
> > S
> >
> > Sent from my iPad
> >
> > On 13/09/2013, at 23:45, Aaron Zeckoski <azeckoski at unicon.net> wrote:
> >
> >> Those notes were from the conference back in June and have just been
> >> slightly reorganized. I am not sure who proposed replacing roster with
> >> roster 2 but maybe that person can add the reasoning. I am not aware
> >> of anything myself.
> >>
> >> On Fri, Sep 13, 2013 at 9:31 AM, May, Megan Marie <mmmay at iu.edu> wrote:
> >>> I don’t see rationale in the notes.   Can you please provide something
> >>> substantial for those of us not on the call?
> >>>
> >>>
> >>>
> >>> From: sakai2-tcc-bounces at collab.sakaiproject.org
> >>> [mailto:sakai2-tcc-bounces at collab.sakaiproject.org] On Behalf Of Neal
> Caidin
> >>> Sent: Friday, September 13, 2013 7:37 AM
> >>> To: sakai2-tcc at collab.sakaiproject.org 2
> >>> Subject: [sakai2-tcc] Roster2 to replace Roster
> >>>
> >>>
> >>>
> >>> From the TCC - CLECC call -
> >>> https://confluence.sakaiproject.org/display/TCC/TCC+CLE+Action+Items
> >>>
> >>>
> >>>
> >>> For the folks on the call, there was consensus that Roster2 should
> replace
> >>> Roster for 2.10/trunk.
> >>>
> >>>
> >>>
> >>> Steve Swinsburg says this is not a lot of work to make happen.
> >>>
> >>>
> >>>
> >>> Consensus on this one?
> >>>
> >>>
> >>>
> >>> Cheers,
> >>>
> >>> Neal
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Neal Caidin
> >>>
> >>> Sakai CLE Community Coordinator
> >>>
> >>> neal.caidin at apereo.org
> >>>
> >>> Skype: nealkdin
> >>>
> >>> Twitter: ncaidin
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> sakai2-tcc mailing list
> >>> sakai2-tcc at collab.sakaiproject.org
> >>> http://collab.sakaiproject.org/mailman/listinfo/sakai2-tcc
> >>
> >>
> >>
> >> --
> >> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
> >> _______________________________________________
> >> sakai2-tcc mailing list
> >> sakai2-tcc at collab.sakaiproject.org
> >> http://collab.sakaiproject.org/mailman/listinfo/sakai2-tcc
> > _______________________________________________
> > sakai2-tcc mailing list
> > sakai2-tcc at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai2-tcc
>
>
>
> --
> John Bush
> 602-490-0470
>
> ** This message is neither private nor confidential in fact the US
> government is storing it in a warehouse located in Utah for future
> data mining use cases should they arise. **
> _______________________________________________
> sakai2-tcc mailing list
> sakai2-tcc at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai2-tcc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai2-tcc/attachments/20130913/da6e0d72/attachment.html 


More information about the sakai2-tcc mailing list