[Koha-devel] A browser-based (javascript) non-Latin IME for Koha

Indranil Das Gupta indradg at gmail.com
Wed Jan 30 23:21:26 CET 2013


Hi all,

I have a requirement to support about cataloging and searching on
about 6 Indian languages on Koha v 3.10. The
GoogleIndicTransliteration syspref seems to have been discarded even
though doc-head-close.inc has its reference. While it is always
possible to use a OS-based system input method, my client has a
preference for a browser-based one,

I have taken Wikimedia foundation's jquery IME
(https://github.com/wikimedia/jquery.ime/#readme) - a dual-licensed
javascript library - GPLv2+ and MIT licensed. the IME is a port of the
Narayam IME used for non-Latin input on Wikipedia.

I've done the following:

1. Installed the latest jquery.ime git master into 3.10 code tree.

2. modified lib/C4/Templates.pm to add an additional 'jqueryimepath'
parameter/variable

3. added the necessary lines to includes/doc-head-close.inc

4. changed the path to the IME 'rules' files to point to koha source
tree location, in order to work correctly after being served by
mod_rewrite

What I'm about to do:

1. Add a new syspref to toggle use of the JQuery IME, so that users
have an option to enable / disable it.

I would like to contribute this as a feature to the upcoming Koha release(s).

Question: How do I do this? Cluesticks/bats anyone? ;-)

cheers,
-indra


-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog    : http://indradg.randomink.org/blog
IRC      : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org


More information about the Koha-devel mailing list