Indranil Das Gupta | 30 Jan 23:21 2013
Picon

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

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
(Continue reading)

Indranil Das Gupta | 30 Jan 23:56 2013
Picon

Re: A browser-based (javascript) non-Latin IME for Koha

Hi,

On Thu, Jan 31, 2013 at 3:51 AM, Indranil Das Gupta <indradg@...> wrote:
> Hi all,
<snipped>
> I would like to contribute this as a feature to the upcoming Koha release(s).
>
> Question: How do I do this? Cluesticks/bats anyone? ;-)

As a start, I've filed the following bug -
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9515

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
_______________________________________________
(Continue reading)

Galen Charlton | 31 Jan 00:16 2013

Re: A browser-based (javascript) non-Latin IME for Koha

Hi,

On Wed, Jan 30, 2013 at 2:56 PM, Indranil Das Gupta <indradg@...> wrote:
> On Thu, Jan 31, 2013 at 3:51 AM, Indranil Das Gupta
<indradg@...> wrote:
>> Hi all,
> <snipped>
>> I would like to contribute this as a feature to the upcoming Koha release(s).
>>
>> Question: How do I do this? Cluesticks/bats anyone? ;-)
>
> As a start, I've filed the following bug -
> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9515

Good first step!

Since you've already got this working in your local installation of
Koha, preparing your work for submission will mostly be a matter of
creating a Git clone of the Koha source repository, running through
the steps to add the IME in your clone, then creating a patch and
submitting it.

I recommend that you read through the following wiki page first, which
goes over the mechanics using Git and preparing a patch:

http://wiki.koha-community.org/wiki/Version_Control_Using_Git

Once you have the patch in your local repository, you should also read:

http://wiki.koha-community.org/wiki/Git_bz_configuration
(Continue reading)


Gmane