Hello David,
I think there is no reason for that, the person that personalized Opac just put the pics there the folder pic_dgadr insisde the directory /usr/share/koha/opac/htdocs/opac-tmpl/prog The directory only contains pics used in our opac view. Probably the best place to hold the directory would be /usr/share/koha/opac/htdocs , if i am not wrong. Running dpkg -C i dont get any error at all , it gives me a blank response, no erros/warning shown. Regards, Paulo Neto DSIGA / DPGI Tel. (+351) 21 844 2228 http://www.dgadr.gov.pt -----Mensagem original----- De: David Liddle <da...@liddles.net> Enviada: 21 de fevereiro de 2024 11:48 Para: Paulo Neto <pn...@dgadr.pt> Cc: koha <koha@lists.katipo.co.nz> Assunto: Re: [Koha] Language instalation problem installing an adtional language Hello Paul, Did you put the folder with pictures in that directory for a particular reason? Unless I'm mistaken: - that pictures folder would be better placed in another directory, and - that directory should have other directories in it. It makes me wonder if you have a complete installation of Koha. As a basic check, see what the following command produces: dpkg -C Regards, David Liddle System Administrator david.lid...@wycliff.de (but not for this list) Wycliff e.V., https://wycliff.de Seminar für Sprache und Kultur, https://spracheundkultur.org Internationales Tagungszentrum Karimu, https://karimu.de On Tue, Feb 20, 2024 at 11:06 AM Paulo Neto <pn...@dgadr.pt> wrote: > > Hello all, > > I have got a test machine with koha 22.11.14 > > When i run > > koha@gbiblio2:~$ koha-translate --list pic_dgadr > > showing me pic_dgadr , thats a directory i created to put my koha pictures > used o the opac. > > I wanted to install pt-PT language and then i run: > > koha@gbiblio2:~$ sudo koha-translate --install pt-PT > > Then obtained this messages: > > /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. > > Connection to the memcached servers '__MEMCACHED_SERVERS__' failed. Are the > unix socket permissions set properly? Is the host reachable? > If you ignore this warning, you will face performance issues > > Note: I dont have the "en" directory in > "/usr/share/koha/opac/htdocs/opac-tmpl/prog" > > Running the comand mentioned above - > usr/share/koha/misc/translator/tmpl_process3.pl --help - : > > root@gbiblio2:~# /usr/share/koha/misc/translator/tmpl_process3.pl --help > Can't locate C4/TmplTokenType.pm in @INC (you may need to install the > C4::TmplTokenType module) (@INC contains: /usr/share/koha/misc/translator > /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 > /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base > /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 > /usr/local/lib/site_perl) at /usr/share/koha/misc/translator/TmplTokenizer.pm > line 4. > BEGIN failed--compilation aborted at > /usr/share/koha/misc/translator/TmplTokenizer.pm line 4. > Compilation failed in require at > /usr/share/koha/misc/translator/tmpl_process3.pl line 22. > BEGIN failed--compilation aborted at > /usr/share/koha/misc/translator/tmpl_process3.pl line 22. > > After all this It seems to have instaled the pt-Pt language: > > root@gbiblio2:~# koha-translate --list pic_dgadr pt-PT > > The PT language shows on the opac and on intranet view and it seems to have > translated correctly. > > Running the comand koha-translate and trying to uninstall/remove the > language installed pt-PT it doesnt get removed and it doesnt show a > warning/error message > > Command used to remove pt-PT language: koha-translate --remove pt-PT > > The upgrade command also doesnt seem to have any efect koha-translate > --update pt-PT doesnt show any warning/error message at all. > > Any sugestions that could solve my problem? > Any way to verify the translated version? > And if i cant remove the pt-PT language how can i manually remove it from > koha language list? This is particulary usefull on a upgrade when i will need > to reinstall or upgrade the langauge or languages installed. > > > Best regards, > > Paulo Neto > > DSIGA / DPGI > Tel. (+351) 21 844 2228 > http://www.dgadr.gov.pt > > > > > Running the comand mentioned above: > > "root@gbiblio2:~# /usr/share/koha/misc/translator/tmpl_process3.pl --help > Can't locate C4/TmplTokenType.pm in @INC (you may need to install the > C4::TmplTokenType module) (@INC contains: /usr/share/koha/misc/translator > /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 > /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base > /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 > /usr/local/lib/site_perl) at /usr/share/koha/misc/translator/TmplTokenizer.pm > line 4. > BEGIN failed--compilation aborted at > /usr/share/koha/misc/translator/TmplTokenizer.pm line 4. > Compilation failed in require at > /usr/share/koha/misc/translator/tmpl_process3.pl line 22. > BEGIN failed--compilation aborted at > /usr/share/koha/misc/translator/tmpl_process3.pl line 22." > > It seems to have instaled the pt-Pt language: > > root@gbiblio2:~# koha-translate --list pic_dgadr pt-PT > > > Any sugestions that could solve my problem? > > The directory /usr/share/koha/opac/htdocs/opac-tmpl/prog > Has this two folders: > > pic_dgadr pt-PT > > Best regards, > > Paulo Neto > > DSIGA / DPGI > Tel. (+351) 21 844 2228 > http://www.dgadr.gov.pt > > > > > > > > > > _______________________________________________ > > Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha