[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
Wed Aug 27 11:23:40 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12815
--- Comment #11 from Indranil Das Gupta <indradg at gmail.com> ---
Created attachment 31176
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31176&action=edit
Adds the jQuery.IME support hooks for the Koha OPAC
The original patch
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31152 is being split
up into a 5-part patchset as per discussion on #koha
This 4/5 adds the jQuery.IME support hooks for the Koha OPAC. It introduces a
new syspref 'UsejQueryIMEonOPAC' and inserts into sysprefs.sql and
updatedatabase.pl. The i18n_l10n.pref YAML file is also organised into topical
sub-sections i.e. 'Date and Time', 'Language Support' and 'Multi-lingual
keyboard'. UsejQueryIMEonOPAC syspref is added under 'Multi-lingual keyboard'
sub-section
Test Plan:
1) Apply patches
2) Update the database (so that the new system preference is 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", should disable
jQuery.IME support.
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