[Bug 24977] New: Enable translations for authorised values (POC)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Bug ID: 24977 Summary: Enable translations for authorised values (POC) Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: I18N/L10N Assignee: julian.maurice@biblibre.com Reporter: julian.maurice@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: frederic@tamil.fr Depends on: 24975 Only a proof of concept to illustrate what's needed to enable translation for a new kind of object. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24975 [Bug 24975] Refactor database translations -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 --- Comment #1 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 101720 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101720&action=edit Bug 24977: Enable translations for authorised values (POC) Only a proof of concept to illustrate what's needed to enable translation for a new kind of object. Only authorised values retrieved with Koha::AuthorisedValues->get_descriptions_by_koha_field are translated. This is used for instance for shelving locations in catalogue/itemsearch.pl Test plan: 1. Run updatedatabase && update_dbix_class_files && reload starman 2. Go to Admin » Localization 3. Find a LOC authorised value and translate it 4. Go to Item search form and verify that it is translated Requires bug 24975 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #101720|0 |1 is obsolete| | --- Comment #2 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 101797 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101797&action=edit Bug 24977: Enable translations for authorised values (POC) Only a proof of concept to illustrate what's needed to enable translation for a new kind of object. Only authorised values retrieved with Koha::AuthorisedValues->get_descriptions_by_koha_field and Koha::AuthorisedValues->get_descriptions_by_koha_field are translated. This is used for instance for shelving locations in catalogue/itemsearch.pl Test plan: 1. Run updatedatabase && update_dbix_class_files && reload starman 2. Go to Admin » Localization 3. Find a LOC authorised value and translate it 4. Go to Item search form and verify that it is translated 4. Verify that it is translated in results too Requires bug 24975 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #101797|0 |1 is obsolete| | --- Comment #3 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 101798 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101798&action=edit Bug 24977: Enable translations for authorised values (POC) Only a proof of concept to illustrate what's needed to enable translation for a new kind of object. Only authorised values retrieved with Koha::AuthorisedValues->get_descriptions_by_koha_field and Koha::AuthorisedValues->get_description_by_koha_field are translated. This is used for instance for shelving locations in catalogue/itemsearch.pl Test plan: 1. Run updatedatabase && update_dbix_class_files && reload starman 2. Go to Admin » Localization 3. Find a LOC authorised value and translate it 4. Go to Item search form and verify that it is translated 4. Verify that it is translated in results too Requires bug 24975 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Patrick Robitaille <patrick.robitaille@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.robitaille@collecto | |.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Marjorie Barry-Vila <marjorie.barry-vila@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marjorie.barry-vila@collect | |o.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Would really be great to have. Would like to be able to translate various AV descriptions, also in the scope of their use in notices. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=20307 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Is this is a possible duplicate of bug 20307? Both appear a bit stuck :( -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 --- Comment #6 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Ping pong -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #101798|0 |1 is obsolete| | --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 149955 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149955&action=edit Bug 24977: Enable translations for authorised values (POC) Only a proof of concept to illustrate what's needed to enable translation for a new kind of object. Only authorised values retrieved with Koha::AuthorisedValues->get_descriptions_by_koha_field and Koha::AuthorisedValues->get_description_by_koha_field are translated. This is used for instance for shelving locations in catalogue/itemsearch.pl Test plan: 1. Run updatedatabase && update_dbix_class_files && reload starman 2. Go to Admin » Localization 3. Find a LOC authorised value and translate it 4. Go to Item search form and verify that it is translated 4. Verify that it is translated in results too Requires bug 24975 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 150037 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150037&action=edit Bug 24977: WIP Adjust and continue -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- hum I feel like I am not going into the correct direction with AVs, I am concerned by perf impact here. See FIXMEs. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Lauren Denny <lauren_denny@sil.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lauren_denny@sil.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Koha collecto <koha@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koha@collecto.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38460 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Bug 24977 depends on bug 24975, which changed state. Bug 24975 Summary: Refactor database translations https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24975 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #10 from Julian Maurice <julian.maurice@biblibre.com> --- *** This bug has been marked as a duplicate of bug 38460 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org