|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Sakai-JS internationalizationHi Everyone
I am looking for a way to plugin the i8n that is built into Sakai (i8n via Java Resource Bundles) but take in that feature through into javascript. So far, Nuno Fernandes has come up with a jquery plugin that theoretically can do this but has had little success on 2 tools withing Sakai. Documentation on this is available: http://codingwithcoffee.com/?p=272 I am looking for a javascript solution to simply drop in and end users do not have to rewrite their translations strings into java sided and JS sided messages.properties. Thank you -- ************************ Lovemore Nalube Online Learning Environments Developer University of Cape Town www.cet.uct.ac.za/people /* Facebook: https://www.facebook.com/lovenalube /* Work: lovemore.nalube@... /* Cell: 076 186 1244 /* GTalk: lovenalube@... _______________________________________________________ fluid-talk mailing list - fluid-talk@... To unsubscribe, change settings or access archives, see http://fluidproject.org/mailman/listinfo/fluid-talk |
|
|
Re: Sakai-JS internationalizationHi Lovemore,
Good question. We wrote a Java properties parser in JavaScript for reading localization bundles in the Fluid Renderer passed down from the server. Do an Ajax request to grab your properties bundle, then run it through the parser. The result is a plain old JSON object. Looking at Nuno's code, they seem pretty similar. You can see our implementation in the Infusion framework's fluidParser.js file: https://source.fluidproject.org/svn/fluid/infusion/trunk/src/webapp/framework/renderer/js/fluidParser.js As for the specific details about Sakai tools, I don't have a lot of advice to offer you on that, but perhaps others from the Sakai community will. One other quick note: we've created a mailing list specifically for users of Fluid Infusion. We're not using fluid-talk for technical questions any more, so you'll probably get a speedier response if you post to infusion-users@.... Here's a link to the signup page: http://fluidproject.org/mailman/listinfo/infusion-users I hope this helps, Colin On 16-Sep-09, at 5:35 AM, Lovemore Nalube wrote: > Hi Everyone > > I am looking for a way to plugin the i8n that is built into Sakai > (i8n via Java Resource Bundles) but take in that feature through > into javascript. > > So far, Nuno Fernandes has come up with a jquery plugin that > theoretically can do this but has had little success on 2 tools > withing Sakai. Documentation on this is available: http://codingwithcoffee.com/?p=272 > > I am looking for a javascript solution to simply drop in and end > users do not have to rewrite their translations strings into java > sided and JS sided messages.properties. --- Colin Clark Technical Lead, Fluid Project http://fluidproject.org _______________________________________________________ fluid-talk mailing list - fluid-talk@... To unsubscribe, change settings or access archives, see http://fluidproject.org/mailman/listinfo/fluid-talk |
| Free embeddable forum powered by Nabble | Forum Help |