[Koha-bugs] [Bug 24977] Enable translations for authorised values (POC)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 26 11:17:17 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24977

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101797|0                           |1
        is obsolete|                            |

--- Comment #3 from Julian Maurice <julian.maurice at 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.


More information about the Koha-bugs mailing list