[Koha-bugs] [Bug 12815] Adding browser based multi-lingual jquery.ime input method support to Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 26 06:25:40 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12815

--- Comment #3 from Indranil Das Gupta <indradg at gmail.com> ---
This patch integrates Wikimedia's jQuery.IME multi-lingual input method 
jQuery based library with Koha, for the OPAC as well as the staff 
client.

Browser based on-the-fly transliterated input on the OPAC was a 
long-standing requirement particularly in the Indian Koha user 
community. Indian government recognises 22 official languages for the 
purpose of official correspondance. The earlier attempts to add 
GoogleIndicTransliteration was a step in this direction. But that 
attempt did not clear finally QA. 

Google Transliteration API was deprecated in June 2011 and it's general 
Terms of Service (ToS) are not FOSS friendly. In contrast, jQuery.IME 
is dual-licensed under GPLv2+ and MIT. It is a key component of 
Wikimedia's global language engineering stack. At present, this 
represents robust, well tested support for over 135 input methods 
spanning over 67 languages.

Test Plan:

1) Install the patch.

2) Update the database (so that the new system preferences are inserted)

3) Go to Administration -> System Preferences -> I18N/L10N in the staff 
   client.

4) Under "Multi-Lingual keyboard", "Enable" the UsejQueryIMEonOPAC    
   system preference. Open the OPAC, and click inside the search box    
   after page load. You should see small keyboard graphics attached 
   to the bottom right edge of the search box.

5) Click on the keyboard graphics to expand the drop-down. Select your
   language. The drop-down will close. 

6) Click again on the keyboard icon, it should now offer the list of 
   input methods available for the language selected in step 5.

7) You should be able to type in your chosen input method. To switch 
   back to English while on that page press CTRL+M. This toggles 
   between input methods while on the page.

8) Repeating step #4 about to select "Do not enable", will disable the 
   jQuery.IME support.

9) Repeat steps #3 to #8 with the other syspref UsejQueryIMEonStaff and 
   check accordingly in the Staff Client interface. The results should  
   be same as with the OPAC.

NOTE 1: For a language to work, the operating system should have UTF-8 
        support and in the case of Indic and other asian languages 
        Complex layout rendering support and the necessary fonts.

NOTE 2: A set of screenshot showing steps 5, 6 and 7 using the OPAC.

        (a) Default view with IM active     - http://imgur.com/a/2gB7H#3
        (b) Selecting the language          - http://imgur.com/a/2gB7H#1
        (c) Search box showing input method - http://imgur.com/a/2gB7H#0
        (d) Typing using Hindi Inscript im  - http://imgur.com/a/2gB7H#2

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list