Bug 18493 - Many languages are missing from the advanced search languages dropdown
Summary: Many languages are missing from the advanced search languages dropdown
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Lari Taskula
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on: 15067 29596 29605 33134 34328
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-25 13:09 UTC by Lari Taskula
Modified: 2024-11-18 16:24 UTC (History)
9 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.11.00
Circulation function:


Attachments
Bug 18493: Add new searchable languages (43.67 KB, patch)
2017-04-25 13:30 UTC, Lari Taskula
Details | Diff | Splinter Review
Bug 18493: Add new searchable languages (43.68 KB, patch)
2017-04-25 13:31 UTC, Lari Taskula
Details | Diff | Splinter Review
Bug 18493: Add new searchable languages (43.81 KB, patch)
2017-05-09 04:32 UTC, Marc Véron
Details | Diff | Splinter Review
Bug 18493: Add new searchable languages (43.96 KB, patch)
2017-09-01 06:59 UTC, Marcel de Rooy
Details | Diff | Splinter Review
Bug 18493: Add new searchable languages (43.15 KB, patch)
2024-05-23 16:32 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 18493: Modernise DB update (46.70 KB, patch)
2024-05-23 16:32 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 18493: (follow-up) Fix typo descriptionsn (1.01 KB, patch)
2024-06-11 11:20 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Taskula 2017-04-25 13:09:26 UTC
Our librarians have requested some languages to be added into the advanced search language dropdown list. Will list them in a comment after attaching patches.
Comment 1 Lari Taskula 2017-04-25 13:30:45 UTC
Created attachment 62678 [details] [review]
Bug 18493: Add new searchable languages

This patch adds the following languages into advanced search "Languages" dropdown:

Bosnian
Welsh
Esperanto
Estonian
Irish Gaelic
Scottish Gaelic
ncient Greek
Kazakh
Greenlandic
Karelian
Cornish
Lithuanian
Latvian
Burmese
Punjabi
Pashto
Finnish Kalo
Sanskrit
Akkala Sami
Kildin Sami
Ter Sami
Pite Sami
Kemi Sami
Ume Sami
Southern Sami
Northern Sami
Sami languages
Lule Sami
Inari Sami
Skolt Sami
Somali
Sotho
Votic
Yiddish

To test:
1. perl installer/data/mysql/updatedatabase.pl
2. Go to intranet advanced search
3. Click "More options"
4. See "Limits" fieldset, it should have "Language" drop down
5. Observe that the languages provided in this patch are visible in this dropdown
Comment 2 Lari Taskula 2017-04-25 13:31:46 UTC
Created attachment 62679 [details] [review]
Bug 18493: Add new searchable languages

This patch adds the following languages into advanced search "Languages" dropdown:

Bosnian
Welsh
Esperanto
Estonian
Irish Gaelic
Scottish Gaelic
Ancient Greek
Kazakh
Greenlandic
Karelian
Cornish
Lithuanian
Latvian
Burmese
Punjabi
Pashto
Finnish Kalo
Sanskrit
Akkala Sami
Kildin Sami
Ter Sami
Pite Sami
Kemi Sami
Ume Sami
Southern Sami
Northern Sami
Sami languages
Lule Sami
Inari Sami
Skolt Sami
Somali
Sotho
Votic
Yiddish

To test:
1. perl installer/data/mysql/updatedatabase.pl
2. Go to intranet advanced search
3. Click "More options"
4. See "Limits" fieldset, it should have "Language" drop down
5. Observe that the languages provided in this patch are visible in this dropdown
Comment 3 Marc Véron 2017-05-09 04:32:10 UTC
Created attachment 63265 [details] [review]
Bug 18493: Add new searchable languages

This patch adds the following languages into advanced search "Languages" dropdown:

Bosnian
Welsh
Esperanto
Estonian
Irish Gaelic
Scottish Gaelic
Ancient Greek
Kazakh
Greenlandic
Karelian
Cornish
Lithuanian
Latvian
Burmese
Punjabi
Pashto
Finnish Kalo
Sanskrit
Akkala Sami
Kildin Sami
Ter Sami
Pite Sami
Kemi Sami
Ume Sami
Southern Sami
Northern Sami
Sami languages
Lule Sami
Inari Sami
Skolt Sami
Somali
Sotho
Votic
Yiddish

To test:
1. perl installer/data/mysql/updatedatabase.pl
2. Go to intranet advanced search
3. Click "More options"
4. See "Limits" fieldset, it should have "Language" drop down
5. Observe that the languages provided in this patch are visible in this dropdown

Signed-off-by: Marc Véron <veron@veron.ch>
Comment 4 Marcel de Rooy 2017-09-01 06:59:36 UTC
Created attachment 66688 [details] [review]
Bug 18493: Add new searchable languages

This patch adds the following languages into advanced search "Languages" dropdown:

Bosnian
Welsh
Esperanto
Estonian
Irish Gaelic
Scottish Gaelic
Ancient Greek
Kazakh
Greenlandic
Karelian
Cornish
Lithuanian
Latvian
Burmese
Punjabi
Pashto
Finnish Kalo
Sanskrit
Akkala Sami
Kildin Sami
Ter Sami
Pite Sami
Kemi Sami
Ume Sami
Southern Sami
Northern Sami
Sami languages
Lule Sami
Inari Sami
Skolt Sami
Somali
Sotho
Votic
Yiddish

To test:
1. perl installer/data/mysql/updatedatabase.pl
2. Go to intranet advanced search
3. Click "More options"
4. See "Limits" fieldset, it should have "Language" drop down
5. Observe that the languages provided in this patch are visible in this dropdown

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Just noting that the order in this dropdown is hopeless.
Comment 5 Jonathan Druart 2017-09-01 14:29:24 UTC
You need to check the existence of these languages in the update DB, otherwise they will be duplicated.

Note: the "added" column is wrong, but useless as well. It should be an automatic timestamp.
Comment 6 Fridolin Somers 2021-04-02 13:03:05 UTC
This would be useful.
Comment 7 Séverine Queune 2022-04-19 08:12:34 UTC
(In reply to Fridolin Somers from comment #6)
> This would be useful.
I completely agree !

Maybe a silly proposition (or technically impossible to apply...) but why don't use the authorized values list dedicated to languages for this list ?

That way, each library would have available in this list only the languages ​​actually present in its catalog.
It would also be easier to find the language we want, because the order of this list is a little bit esoteric in my view :/
Comment 8 Katrin Fischer 2022-04-21 19:11:02 UTC
I think sorting/display could be improved by using the "translated name" of the language for sorting.

A reason why we don't use authorised values is translatability, especially if you offer the OPAC in multiple languages. I know that Bernardo once tried to move them out of the database and make them translatable in Pootle: bug 12017
Comment 9 Séverine Queune 2022-04-22 07:50:47 UTC
(In reply to Katrin Fischer from comment #8)
> A reason why we don't use authorised values is translatability, especially
> if you offer the OPAC in multiple languages.

Oh ! You're totally right, I completely missed this point !
Comment 10 Janusz Kaczmarek 2024-04-12 21:04:46 UTC
This bug is very similar to the bug 33134 which has been quasi approved today (not yet QA).

After the application of the patch from 33134 (and earlier additions), 22 languages from this patch will be still missing (and possibly also some more descriptions of the languages):

rfc4646 iso639
kl   kal
krl   krl
kw   cor
my   bur
pa   pan
ps   pus
rmf   rmf
sia   sia
sjd   sjd
sjt   sjt
sje   sje
sjk   sjk
sju   sju
sma   sma
sme   sme
smi   smi
smj   smj
smn   smn
sms   sms
so   som
st   sot
vot   vot

Maybe the author of this patch would like to consider correcting and resubmitting it in the form similar to that of the bug 33134 -- it should be OK now...
Comment 11 Martin Renvoize (ashimema) 2024-05-23 16:32:03 UTC
Created attachment 167122 [details] [review]
Bug 18493: Add new searchable languages

This patch adds the following languages into advanced search "Languages" dropdown:

Greenlandic
Karelian
Cornish
Burmese
Punjabi
Pashto
Finnish Kalo
Akkala Sami
Kildin Sami
Ter Sami
Pite Sami
Kemi Sami
Ume Sami
Southern Sami
Northern Sami
Sami languages
Lule Sami
Inari Sami
Skolt Sami
Somali
Sotho
Votic

To test:
1. perl installer/data/mysql/updatedatabase.pl
2. Go to intranet advanced search
3. Click "More options"
4. See "Limits" fieldset, it should have "Language" drop down
5. Observe that the languages provided in this patch are visible in this dropdown

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Just noting that the order in this dropdown is hopeless.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 12 Martin Renvoize (ashimema) 2024-05-23 16:32:07 UTC
Created attachment 167123 [details] [review]
Bug 18493: Modernise DB update

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 13 Martin Renvoize (ashimema) 2024-05-23 16:36:00 UTC
Sorted out the QA comments and updated to current best practices.

I think this is ready to go without delay now.
Comment 14 Katrin Fischer 2024-05-24 13:36:10 UTC
I have pondered this one, but I don't want to do another database update right now. It will be top of list once the release is out.
Comment 15 Martin Renvoize (ashimema) 2024-06-11 10:56:09 UTC
Thanks for all the hard work!

Pushed to main for the next 24.11.00 release as RM Assistant
Comment 16 Nick Clemens (kidclamp) 2024-06-11 11:20:47 UTC
Created attachment 167626 [details] [review]
Bug 18493: (follow-up) Fix typo descriptionsn
Comment 17 Martin Renvoize (ashimema) 2024-06-11 11:22:33 UTC
Doh, thanks Nick.. follow-up pushed.