sakaiproject/3akai-ux — pull request #2510 by nicolaasmatthijs (2012-12-06 01:32:12+00:00)
Title: Internationalization and widget loader

This PR implements the following:

* i18n:

- Re-implemented loading of core and widget bundles
- Parsing of properties using jQuery properties parser
- Simplified translation method
- Implemented support for debug language
- Removed Hungarian as a supported language

* l10n:

- Re-implemented l10n functions

* widget loader:

- New widget loader implementation
- Uses jQuery where possible
- Page is not rendered until initial widgets are rendered
- Allow for relative URLs inside of widgets
- Modified widget js to just return a function, no more need for sakai_global or informOnLoad
- Optimized loading of widgets that have already been loaded

* widget hosting:

- Adjusted nginx to load widgets from new location
- Hilary change to modify path added to the widget manifests

The only widget that has been prepared for the new widget loader is the branding widget in /register. More will follow in the next PR, but I wanted to get a review on the widget loader and i18n before that.