Hello,

this is a now know bug in Koha and occurs with every language. I´m using Debian 11, but Debian 12 has this too.

There is a quick fix to solve the problem until a new patch is issued:

(all as root)

apt install node-po2json

edit /usr/share/koha/misc/translator/LangInstaller.pm

and change in line 56

$self->(po2json) = "yarn run po2json";

with hardcoded (on Debian 11)

$self->(po2json) = "/usr/bin/node-po2json";

or (if Debian 12)

$self->(po2json) "/usr/share/nodejs/po2json/bin/po2json";


For more information, please read the articles at koha-mattermost town square.


Andreas

--
Dr. Andreas Tomiak
Bibliotheksleiter

ORCID            https://orcid.org/0000-0002-3952-5416
SCOPUS Author ID 16450079500
ResearcherID     M-5165-2015
SSR              DEA900130625
GND              1132720850
VIAF ID          166149616483803750669
                 http://viaf.org/viaf/166149616483803750669
Call sign        DH7ADR

Tel.: +49 30 8062 42593, +49 160 9360 2804, Fax: +49 30 8062 42953

________________________________________________________________________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland

Ringgold ID (RIN) 28340
ISNI http:/isni.org/isni/0000000110903682
ROR  https://ror.org/02aj13c28
GRID https://grid.ac/institutes/grid.424048.e

_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to