A new request with request id 17036 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 188, Issue 9
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Time to translate: string freeze to prepare Koha 20.05.14 has
begun (Victor Grousset/tuxayo)
2. Bug 17600 (Standardize the EXPORT) is pushed (Jonathan Druart)
3. Re: German language (de-DE) no more shown after update to
Koha 21.05.01 (Jonathan Druart)
4. Re: German language (de-DE) no more shown after update to
Koha 21.05.01 (Michael Kuhn)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Jul 2021 04:17:00 +0200
From: Victor Grousset/tuxayo <victor@tuxayo.net>
To: koha-translate@lists.koha-community.org, koha-devel
    <koha-devel@lists.koha-community.org>, Koha <Koha@lists.katipo.co.nz>
Subject: [Koha-devel] Time to translate: string freeze to prepare Koha
    20.05.14 has begun
Message-ID: <76fd66b5-1ba1-65c7-0177-50758e2c41a0@tuxayo.net>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi, saluton, hola, bonjour,

String freeze is into effect as of now for the 20.05.x maintenance branch.
The minor release is scheduled for around the 23th.

This means it's the right time to head over to the translation platform:
https://translate.koha-community.org/projects/

Reminder: if you add or change a translation in version 20.05,
then you must also copy it to 20.11 and 21.05.
Otherwise your work will be lost for future versions. (We've had a
recent significant case of that!)


Happy translating,

--
Victor Grousset/tuxayo


------------------------------

Message: 2
Date: Fri, 16 Jul 2021 09:02:23 +0200
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
To: koha-devel <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] Bug 17600 (Standardize the EXPORT) is pushed
Message-ID:
    <CAJzKNY5xamJzP-R_2S01xsEJjjyYHabEMit0bXDVYbQqG+O7KQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi,
I've just pushed bug 17600, it's a massive patch (1311 files changed,
4077 insertions(+), 4362 deletions(-)) that will cause conflicts with
a lot of other patches in the queue.

I've described in the commit message what it is doing, please read it.

Most of the time the changes it brings are trivial but be careful when
you resolve the conflicts. Ping me if you need help.

Enjoy your weekend!
Jonathan


------------------------------

Message: 3
Date: Fri, 16 Jul 2021 11:16:58 +0200
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
To: Michael Kuhn <mik@adminkuhn.ch>
Cc: koha-devel <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] German language (de-DE) no more shown after
    update to Koha 21.05.01
Message-ID:
    <CAJzKNY7odesyN=QZ2Umh8fvR9Q-bGFy+4UeU14tPv=GgNwPWiA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

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@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@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@adminkuhn.ch · W www.adminkuhn.ch
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel@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@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/


------------------------------

Message: 4
Date: Fri, 16 Jul 2021 11:35:59 +0200
From: Michael Kuhn <mik@adminkuhn.ch>
To: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Cc: koha-devel <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] German language (de-DE) no more shown after
    update to Koha 21.05.01
Message-ID: <95be9a6b-86d7-21c3-10ea-dbbe5804ee04@adminkuhn.ch>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Jonathan

I'm sorry but it's no more possible to test anything. As written I have
deleted the directory "/usr/share/koha/opac/htdocs/opac-tmpl/prog/de-DE"
since seemingly because of the existence of this directory
"koha-translate" thought German (de-DE) was still installed.

After the deletion I was able to (re-)install German.

So fo course this time "koha.translate" is correct when saying:

# koha-translate --install de-DE --verbose
Error: the selected language is already installed. Try --update if you
want to re-install it.

However - no, "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/" is not an
existing directory and I don't know why "koha-translate" did output the
following:

# 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.

Maybe someone did something wrong in the past - I'm only responsible for
the current update from Koha 19.11.00 to 21.05.01.

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@adminkuhn.ch · W www.adminkuhn.ch



Am 16.07.21 um 11:16 schrieb Jonathan Druart:
> 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@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@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@adminkuhn.ch · W www.adminkuhn.ch
>>> _______________________________________________
>>> Koha-devel mailing list
>>> Koha-devel@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@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/




------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@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/


------------------------------

End of Koha-devel Digest, Vol 188, Issue 9
******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.