[Koha-devel] German language (de-DE) no more shown after update to Koha 21.05.01

Jonathan Druart jonathan.druart at bugs.koha-community.org
Fri Jul 16 11:16:58 CEST 2021


Hello Michael,
Can you try the `koha-translate --install de-DE` command with the
--verbose flag?
What's the output?

Is "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/" a directory? It's
missing "bootstrap", it must be
"/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/"

Le lun. 12 juil. 2021 à 23:42, Michael Kuhn <mik at adminkuhn.ch> a écrit :
>
> Hi
>
> Regarding my last e-mail (see below) I found out "koha-translate"
> thought German (de-DE) was still installed because there was an empty
> directory named "/usr/share/koha/opac/htdocs/opac-tmpl/prog/de-DE". I
> deleted that directory and then was able to (seemlingly) successfully
> install German, even if the output looked somewhat disturbing::
>
> # koha-translate --install de-DE
> /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a directory.
> (Symbolic links are not supported at the moment)
> Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more
> information.
> /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a directory.
> (Symbolic links are not supported at the moment)
> Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more
> information.
> /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a directory.
> (Symbolic links are not supported at the moment)
> Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more
> information.
> /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a directory.
> (Symbolic links are not supported at the moment)
> Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more
> information.
>
> But then again - why was German (except said directory "de-DE") deleted
> in the first place? Is this a bug or did I do something wrong?
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
>
>
>
> Am 12.07.21 um 20:38 schrieb Michael Kuhn:
> > Hi
> >
> > We were on Debian GNU/Linux 9 with Koha 19.11.00, our configured
> > language was german (de-DE). Today we updated first to Debian GNU/Linux
> > 10, then to Koha 21.05.01. At the end of the update it said:
> >
> > Upgrade to 21.05.01.003 done [19:19:38]: Koha 21.05.01 release
> > Error: the selected language is already installed. Try --update if you
> > want to re-install it.
> > ERROR: an error was found when updating 'de-DE' translations. Please
> > manually
> > run 'koha-translate --update de-DE'. Run man koha-translate for more
> > options.
> >
> > Now our language German (de-DE) is gone, instead only English (en) is
> > there. The Koha system preferences "language" und "OPACLanguages" just
> > show "English" but these checkboxes are not even checked. German is not
> > there anymore.
> >
> > I tried to run "koha-translate" with various options but it didn't help:
> >
> > # koha-translate --list
> > de-DE
> > # koha-translate --update de-DE
> > Error: the selected language is already installed. Try --update if you
> > want to re-install it.
> >
> > # koha-translate --remove de-DE
> > # koha-translate --list
> > de-DE
> >
> > # koha-translate --install de-DE
> > Error: the selected language is already installed. Try --update if you
> > want to re-install it.
> >
> > When trying to use option "--dev" the program tries to access a
> > non-existing directory called "koha-tmpl".
> >
> > # koha-translate --list de-DE --dev ndz
> > ls: cannot access '/usr/share/koha/koha-tmpl/opac-tmpl/bootstrap/': No
> > such file or directory
> >
> > How can we regain the German language?
> >
> > Best wishes: Michael
> > --
> > Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> > Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> > T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel at lists.koha-community.org
> > https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : https://www.koha-community.org/
> > git : https://git.koha-community.org/
> > bugs : https://bugs.koha-community.org/
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/


More information about the Koha-devel mailing list