All Projects → wikimedia → Jquery.ime

wikimedia / Jquery.ime

Licence: other
jQuery based input methods library

Programming Languages

javascript
184084 projects - #8 most used programming language
language
365 projects

Projects that are alternatives of or similar to Jquery.ime

Formatjs
The monorepo home to all of the FormatJS related libraries, most notably react-intl.
Stars: ✭ 12,869 (+8775.17%)
Mutual labels:  i18n, localization, internationalization, intl
Goloc
A flexible tool for application localization using Google Sheets.
Stars: ✭ 42 (-71.03%)
Mutual labels:  i18n, localization, internationalization, intl
Eo Locale
🌏Internationalize js apps 👔Elegant lightweight library based on Internationalization API
Stars: ✭ 290 (+100%)
Mutual labels:  i18n, localization, internationalization, intl
Js Lingui
🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript
Stars: ✭ 3,249 (+2140.69%)
Mutual labels:  i18n, localization, internationalization, intl
Texterify
The localization management system.
Stars: ✭ 37 (-74.48%)
Mutual labels:  i18n, localization, internationalization
Fluent
Fluent — planning, spec and documentation
Stars: ✭ 818 (+464.14%)
Mutual labels:  localization, internationalization, intl
Eslint Plugin I18n Json
Fully extendable eslint plugin for JSON i18n translation files.
Stars: ✭ 101 (-30.34%)
Mutual labels:  i18n, internationalization, intl
React Intl Hooks
React hooks for internationalization without the hassle ⚛️🌍
Stars: ✭ 64 (-55.86%)
Mutual labels:  i18n, localization, internationalization
Phabricator zh hans
Phabricator zh-Hans Translation & Tools.
Stars: ✭ 113 (-22.07%)
Mutual labels:  i18n, localization, internationalization
Traduora
Ever® Traduora - Open-Source Translation Management Platform
Stars: ✭ 1,580 (+989.66%)
Mutual labels:  localization, internationalization, i18n
Dom I18n
Provides a very basic HTML multilingual support using JavaScript
Stars: ✭ 125 (-13.79%)
Mutual labels:  i18n, localization, internationalization
Frenchkiss.js
The blazing fast lightweight internationalization (i18n) module for javascript
Stars: ✭ 776 (+435.17%)
Mutual labels:  i18n, localization, internationalization
Fluent.js
JavaScript implementation of Project Fluent
Stars: ✭ 622 (+328.97%)
Mutual labels:  i18n, localization, internationalization
Pseudo Localization
Dynamic pseudo-localization in the browser and nodejs
Stars: ✭ 109 (-24.83%)
Mutual labels:  i18n, localization, internationalization
Fluent Rs
Rust implementation of Project Fluent
Stars: ✭ 503 (+246.9%)
Mutual labels:  i18n, localization, internationalization
Laravel Js Localization
🌐 Convert your Laravel messages and consume them in the front-end!
Stars: ✭ 451 (+211.03%)
Mutual labels:  i18n, localization, internationalization
Locale2
💪 Try as hard as possible to detect the client's language tag ("locale") in node or the browser. Browserify and Webpack friendly!
Stars: ✭ 65 (-55.17%)
Mutual labels:  i18n, localization, internationalization
Jquery I18next
i18next plugin for jquery usage
Stars: ✭ 143 (-1.38%)
Mutual labels:  i18n, internationalization, jquery
Gatsby Starter Prismic I18n
Based on gatsby-starter-prismic with Internationalization (i18n) support
Stars: ✭ 77 (-46.9%)
Mutual labels:  i18n, localization, internationalization
React Localize Redux
Dead simple localization for your React components
Stars: ✭ 384 (+164.83%)
Mutual labels:  i18n, localization, internationalization

jQuery.IME

jQuery.IME is a jQuery based input method editor library supporting more than 135 input methods across more than 62 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 a wider audience outside the Wikimedia universe.

This input tool is widely deployed in all Wikimedia projects (eg: wikipedia).

Quick start

git clone https://github.com/wikimedia/jquery.ime.git

To add input method support to all editable elements:

$( 'textarea, [contenteditable], input[type=text], input[type=search], input:not([type])' ).ime();

jquery.ime provides a jquery plugin function $.fn.ime() to add input method support for any editable elements in a page.

Language selection API

Instead of using the default language selector, you can roll your own:

$myDiv= $( '.foo' );
$myDiv.ime( { showSelector: false } );
ime = $myDiv.data( 'ime' );
$elements.on( 'imeLanguageChange', function () { ... } );
$elements.on( 'imeMethodChange', function () { ... } );

currentLanguageCode = ime.getLanguage();
currentLanguageName = ime.getAutonym( currentLanguageCode );
allLanguageCodes = ime.getLanguageCodes();
inputMethods = ime.getInputMethods( currentLanguageCode );
ime.setIM( inputMethods[ 0 ].id );

See examples/ced/ced.html for a more complete example.

Running

-If you have python installed, run -bash python -m SimpleHTTPServer -

Alternatively, many programming languages provide one liner commands to start a simple http static servers. You can use any one of them.

and, you can access examples from

http://localhost:8000/examples/index.html

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.

Plugin Options

Option Description
imePath Relative/Absolute path for the rules folder of jquery.ime. Default value: '../'
languages Languages to be used- by default all languages. Default value: []. Eg: ['hi', 'ml']. It can also be a function returning an array.
helpHandler Called for each ime option in the menu, default value: null
showSelector Whether the input method selector to be used or not. Default value is true

Browser extensions

This input tool is also available as Firefox and Chrome extensions.

For Developers

Read rules/README.md 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

License

This project is dual licensed with GPLv2+ and MIT license. See the license files in the source code for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].