Re: [Koha] Adding languages to Advanced Search

2018-08-22 Thread Katrin Fischer
Hi Rubén, we have the AdvancedSearchLanguages system preference to allow configuration of the languages shown in the pull down. You enter the language codes for the languages you want to show - so it's easy and adding a new language doesn't change existing installations. Katrin On 22.08.20

Re: [Koha] Adding languages to Advanced Search

2018-08-22 Thread Rubén Fernández Asensio
Thanks Katrin! I think the "IGNORE" version isn't necessary, it may be related to the case of collision between Georgian and Kannada codes in the example you pointed to. I'll try running the SQL command in my own test server. Also, what code would it be to delete a language from the list? Given

Re: [Koha] Adding languages to Advanced Search

2018-08-21 Thread Katrin Fischer
Hi Rubén, first and second look the same to me? It looks about right. I just ran the SQL in my test database and Esperanto showed up in the language pull down. Katrin On 20.08.2018 09:34, Rubén Fernández Asensio wrote: I'd rather file a bug, but adding Esperanto (and other languages) has

Re: [Koha] Adding languages to Advanced Search

2018-08-20 Thread Rubén Fernández Asensio
I'd rather file a bug, but adding Esperanto (and other languages) has already been proposed: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18493 Why is the status of that bug "Failed QA"? I suspect the only way of having that bug fixed and Esperanto added to Koha Advanced Search m

Re: [Koha] Adding languages to Advanced Search

2018-08-19 Thread Katrin Fischer
Hi Rubén, the patch was to show the SQL that is needed in order to add a new language, as the list is created from data in the database. Here is an example: Example: INSERT IGNORE INTO language_descriptions(subtag, type, lang, description) VALUES ( 'ka', 'language', 'ka', 'ქართული'); For t

Re: [Koha] Adding languages to Advanced Search

2018-08-19 Thread Bob Birchall
Hi Ruben, You will not have to recompile Koha from source. However your objective cannot be achieved merely with configuration. The language is not there to be configured, at present. You've done well to get as far as you have, but to proceed you will probably need technical support. If you d

Re: [Koha] Adding languages to Advanced Search

2018-08-19 Thread Rubén Fernández Asensio
Thanks, Katrin, but I'm not a programmer! I know nothing about jQuery or patches. Do you mean I must recompile the entire Koha from sources? Can't it be done just by editing a few configuration files? El 19/08/18 a les 21:42, Katrin Fischer ha escrit: Hi Rubén, you can add new entries to th

Re: [Koha] Adding languages to Advanced Search

2018-08-19 Thread Katrin Fischer
Hi Rubén, you can add new entries to the pull down list using jQuery or you can add your new language to the database. The language list is created using data from the db, including the translations. I've found an old bug for you that adds a new language as an example: https://bugs.koha-comm

[Koha] Adding languages to Advanced Search

2018-08-18 Thread Rubén Fernández Asensio
Hello again! I'm still trying to customize the Advanced Search. Now I need to add a language to the language search field. For some reason, it doesn't show Esperanto ("epo" according to ISO-639-2). Taking a look at file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/opac-advsearch.