Milkshake
Project Milkshake was a project that aims to make generic jQuery components for commonly needed internationalisation features. The project was conceived by the Wikimedia Localisation team in July 2012.
Milkshake
Create generic i18n tools in jQuery
|
![](http://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Making_the_Web_Multilingual_with_Wikipedia.pdf/page1-500px-Making_the_Web_Multilingual_with_Wikipedia.pdf.jpg)
All initial components are being developed because there is a need for them on Wikimedia Projects through MediaWiki. However, it would be shame to not make it easy for anyone to re-use them in any project.
Because of this, we chose to (re)develop all components as generic jQuery libraries, using well documented APIs, so that it is relatively easy to implement and use them anywhere. To allow easy participation in the features, the source code repositories are hosted on GitHub. MediaWiki specific implementations re-use the code from the libraries.
Licenses and contributing
editComponents are dual licensed as GPL and MIT as much as possible to allow wide adoption. New contributions can only be accepted under these two licenses.
Components
editFront end messaging framework
editBased on research, we found out that no existing freely licensed i18n framework for JavaScript was available that was as flexible and feature rich as MediaWiki's messaging for JavaScript. Currently, work is underway to implement the specification.
Language selector
edit- Universal Language Selector
- Source code: jquery.uls, MediaWiki extension
- Available in translatewiki.net
Input methods
editWeb fonts
editFuture developments
editBased on feedback by Krinkle, future developments may include the addition of ResourceLoader and removal of the MediaWiki JavaScript i18n framework in favour of Project Milkshake components. See also Globalize.
See also
edit- jQuery.IME/Wikimedia input tools Chromium/Chrome extension, (developed on GitHub; also a GSoC 2013 project)
- Wikimedia input tools Firefox extension, (developed on GitHub; also a GSoC 2013 project)