[Koha] Language instalation problem installing an adtional language
Paulo Neto
pneto at dgadr.pt
Tue Feb 20 23:06:57 NZDT 2024
Hello all,
I have got a test machine with koha 22.11.14
When i run
koha at 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 at 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 at 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 at 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 at 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 at 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
More information about the Koha
mailing list