[Koha-bugs] [Bug 24975] Refactor database translations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 08:50:55 CEST 2022


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Needs Signoff

--- Comment #68 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Right... that's my branch rebased and a few bugs fixed and all uploaded to
here.

This includes the work I did on translation_key as an example.. i'm envisaging
something along the lines of below for AV's as another example.

sub translation_key {
    return $self->code . ":" . C4::Context->interface;
}

In the itemtypes case I've cheated slighty with translation key stuff.. as it
is just retunring itemtype behind the scenes I didn't go ahead and expose it
more widely in C4::Search for example.

Still need to expose the 'fuzzy' flagging in the UI... but that should be
trivial to do.

I think the 'code' vs 'description' issues may have gone away with the
frameworks having been moved into pootle translations now.

Hopefully this gives us a point to delve back in.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list