[Koha-bugs] [Bug 32677] Spanish language not displaying on the staff or opac interface
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 23 00:36:46 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32677
--- Comment #14 from Victor Zuniga <vctrzuniga at gmail.com> ---
(In reply to Jonathan Druart from comment #13)
> koha-translate has a 'print_installed' routine that is used by the script to
> know if the language is already installed (and block you with the error you
> get).
>
> It is doing
>
> print_installed()
> {
> ( ls -1 $KOHA_HOME/$OPAC_TMPL/bootstrap/ ; \
> ls -1 $KOHA_HOME/$OPAC_TMPL/prog/ 2> /dev/null ) | \
> sort | uniq | \
> grep -v -e images -e itemtypeimg -x -e en -e css -e js -e less -e
> lib
> }
>
> Can you list the 2 directory and confirm that you have es-ES in there?
> Then call remove and ls again. What's left?
Hi Jonathan,
Here's the output I'm getting:
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$ ls
es-ES
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$ cd es-ES/
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog/es-ES$ ls
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog/es-ES$ cd ..
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$ rm -rf es-ES/
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$ ls
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$
Somehow the only thing left inside the prog folder was an empty es-ES folder.
Per your suggestion, I removed and tried to install the Spanish package again.
Here is the output I am getting:
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$ sudo koha-translate
--install es-ES
[sudo] password for vzuniga:
/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/ccsr/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/ccsr/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/ccsr/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
vzuniga at SJDS:/usr/share/koha/opac/htdocs/opac-tmpl/prog$
Victor
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list