Universal Language Selector
This is a Wikimedia Foundation Internationalization team project.
git clone https://github.com/wikimedia/jquery.uls.git
For documentation and examples please visit the wiki
First, get a copy of the git repo by running:
git clone git://github.com/wikimedia/jquery.uls.git
Make sure you have grunt
installed by testing:
grunt -version
If not, run:
npm install
To run tests locally, run grunt test
. This will run the tests in PhantomJS.
You can also run the tests in a browser by navigating to the test/
directory, but first run grunt
to install the submodules.
Please follow jQuery coding guidelines
For transparency and insight into the release cycle, and to upgrading easier, we use the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org/.
jQuery.IME is a jQuery based input method editor library supporting more than 155 input methods across more than 50 languages.
These input methods are well tested. Initially the input methods were contributed by the Wikimedia community. By now many input methods have also been contributed by Red Hat.
This project is a Wikimedia foundation initiative to provide language technology tools to awider audience outside the Wikimedia universe.
git clone https://github.com/wikimedia/jquery.ime.git
To add input method support to the editable fields of a web page:
$( 'textarea' ).ime();
jquery.ime provides a jquery plugin function $.fn.ime()
to add input method
support for any editable elements in a page.
See an example page where jquery.ime in action.
To try the example locally, after checking out the code, start a local webserver to serve the files. This is very easy.
If you have python installed, run
python -m SimpleHTTPServer
or, In case you have python3
python3 -m http.server
Alternatively you can use tools like webfsd. If you know how to use advanced web servers like apache or nginx, you already know how to put the code in a webserver.
Read rules/README to learn how to write an input method for a language.
Read test/README.md to learn how to write and run tests for an input method.
Read the technical specification of the project from wiki.
Do watch the code walkthrough by Chris Forno: http://www.youtube.com/watch?v=LPec-KIBVeI
This project is dual licensed with GPLv2+ and MIT license. See the license files in the source code for more details.
upstream/master