[Koha] Arabic Language Index/Search in 3.22 & 16.05

Mohammad Nashbat MNashbat at alfaisal.edu
Thu Jun 16 01:55:28 NZST 2016


It was the latest version of Debian I guess it's 8, sorry it was done by the IT and I'm out of office now, but most likely 8 according to them.

Best Regards,
Mohammed Nashbat
Library Instructor

> On Jun 15, 2016, at 3:25 PM, Jesse A Lambertson <jlambertson at sqcc.org> wrote:
>
> Mohammad,
>
> Great. Can I assume you are running your instance of 3.22 on debian 7? Or 8?
>
> شكراً
>
> I will bring this to the guy helping me make these changes.
>
> Cheers,
>
> Jesse
>
>
>> On 15-Jun-16 2:34 AM, Mohammad Nashbat wrote:
>> Hi Jesse,
>>
>> I just applied the Arabic language to Koha 3.22 and it works fine, I followed the steps in this link (https://wiki.koha-community.org/wiki/Correcting_Search_of_Arabic_records ) but in the file words-icu.xml I added something different (see below), try it and I hope it works with you.
>>
>>
>>
>> <icu_chain locale="en_IN.UTF-8">
>>   <transliterate rule="\'>\ "/>
>>   <transliterate rule="[:Number:] { '-' > '' "/>
>>   <transform rule="[:Control:] Any-Remove"/>
>>   <tokenize rule="l"/>
>>   <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
>>   <transform rule="NFD"/>
>>   <transform rule="[:Nonspacing Mark:] Remove"/>
>>   <transform rule="NFC"/>
>>   <transliterate rule="{ الا > ا "/>
>>   <transliterate rule="{ الأ > أ "/>
>>   <transliterate rule="{ الإ > إ "/>
>>   <transliterate rule="{ الآ > آ "/>
>>   <transliterate rule="{ الب > ب "/>
>>   <transliterate rule="{ الت > ت "/>
>>   <transliterate rule="{ الث > ث "/>
>>   <transliterate rule="{ الج > ج "/>
>>   <transliterate rule="{ الح > ح "/>
>>   <transliterate rule="{ الخ > خ "/>
>>   <transliterate rule="{ الد > د "/>
>>   <transliterate rule="{ الذ > ذ "/>
>>   <transliterate rule="{ الر > ر "/>
>>   <transliterate rule="{ الز > ز "/>
>>   <transliterate rule="{ الس > س "/>
>>   <transliterate rule="{ الش > ش "/>
>>   <transliterate rule="{ الص > ص "/>
>>   <transliterate rule="{ الض > ض "/>
>>   <transliterate rule="{ الط > ط "/>
>>   <transliterate rule="{ الظ > ظ "/>
>>   <transliterate rule="{ الع > ع "/>
>>   <transliterate rule="{ الغ > غ "/>
>>   <transliterate rule="{ الف > ف "/>
>>   <transliterate rule="{ الق > ق "/>
>>   <transliterate rule="{ الك > ك "/>
>>   <transliterate rule="{ الل > ل "/>
>>   <transliterate rule="{ الم > م "/>
>>   <transliterate rule="{ الن > ن "/>
>>   <transliterate rule="{ اله > ه "/>
>>   <transliterate rule="{ الو > و "/>
>>   <transliterate rule="{ الي > ي "/>
>>   <display/>
>>   <casemap rule="l"/>
>> </icu_chain>
>>
>>
>>
>> Thanks & Best Regards,
>>
>> Mohammed Nashbat
>> Library Instructor
>>
>> -----Original Message-----
>> From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Katrin Fischer
>> Sent: Wednesday, June 15, 2016 08:40 ص
>> To:
>> Subject: Re: [Koha] Arabic Language Index/Search in 3.22 & 16.05
>>
>> Hi Jesse,
>>
>> is it possible you changed something in order to index 880 that got lost in in the update? 880 is not indexed by default atm I think, but probably should still be searchable in keyword search.
>>
>> Is there any warning on the systme information tab of the about page?
>>
>> Hope this helps,
>>
>> Katrin
>>
>>> Am 10.06.2016 um 17:53 schrieb Jesse A Lambertson:
>>> Hello and Happy Friday community,
>>>
>>> I have a question about enabling the indexing and searching of Arabic
>>> script in Koha.
>>>
>>> We are currently running a package installation of 3.20 on debian 7.
>>>
>>> In this installation, we are fully able to search in Arabic as the 880
>>> fields are properly indexed.
>>>
>>> But we are also now running a dev/test koha 3.22 (installed from
>>> tarball) on the same server to work out some issues of our
>>> customization. We are planning to then update the 3.20 instance to
>>> 16.05 on Debian 8.5. This will surely be a package installation
>>> (install koha-common etc).
>>>
>>> We are having troubles getting the Arabic language indexing to work on
>>> the 3.22 dev/test instance (ICU is on, we followed this:
>>> https://wiki.koha-community.org/wiki/Correcting_Search_of_Arabic_recor
>>> ds
>>>
>>> My question is: Were there be any fundamental changes to 3.22 that
>>> would prevent the Arabic language indexing (880 fields) from working?
>>> Is this perhaps tied to the tarball installation?
>>>
>>> Should we expect the same difficulties when we update the main
>>> instance then to 16.05? Or should we expect all other configurations
>>> to roll smoothly into 16.05?
>>>
>>> Thank you much,
>>>
>>> Jesse
>> _______________________________________________
>> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>> ________________________________
>>
>> DISCLAIMER: This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of Alfaisal University shall understand to be neither given nor endorsed by Alfaisal University. The contents of any attachment to this e-mail may contain software viruses, which could damage your own computer system. While “Alfaisal University” has taken every reasonable precaution to minimize this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment.
>
> --
> Jesse A Lambertson
> Librarian
> Sultan Qaboos Cultural Center
> Ph: (202)-677-3967 x104
> jlambertson at sqcc.org
> عالم الانجازات ينحاز دوماً مع المتفائلين
>

________________________________

DISCLAIMER: This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of Alfaisal University shall understand to be neither given nor endorsed by Alfaisal University. The contents of any attachment to this e-mail may contain software viruses, which could damage your own computer system. While “Alfaisal University” has taken every reasonable precaution to minimize this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment.


More information about the Koha mailing list