[Koha] Installation of additional languages for OPAC and Intranet

毛慶禎 mao at lins.fju.edu.tw
Wed May 18 19:31:09 NZST 2011


Dear Frédéric,


Can not install Chinese after upgrade to Koha 3.02.09.000.


Make two subdirectories.
$ mkdir /usr/share/koha/opac/htdocs/opac-tmpl/prog/zh-Hans-TW/
$ mkdir /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/zh-Hans-TW/

Move to
$ cd /usr/share/koha/misc/translator

root at debian:/usr/share/koha/misc/translator# perl translate install zh-Hans-TW

Still could not make it.
Any solution?
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at LangInstaller.pm line 23.
BEGIN failed--compilation aborted at LangInstaller.pm line 23.
Compilation failed in require at translate line 25.
BEGIN failed--compilation aborted at translate line 25.


2011/5/17 Frédéric Demians <frederic at tamil.fr>:
>  > But, it return fellowing messages.
>
>  > $ /usr/share/koha/misc/translator$ perl translate install zh-Hans-TW
>  > readdir() attempted on invalid dirhandle $fh at LangInstaller.pm line 62.
>  > closedir() attempted on invalid dirhandle $fh at LangInstaller.pm
> line 63.
>
> It's a known and resolved bug (#5506). You need to upgrade to last Koha
> 3.2.9 version.
>
>
> --
> Frédéric DEMIANS
> http://www.tamil.fr/u/fdemians.html
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>



-- 
Wishing you all the best. . . .


Anthony Mao 毛慶禎 http://bit.ly/maolins
Department of Library and Information Science
Fu Jen Catholic University  http://bit.ly/lins
510 Jhongjheng Rd., Sinjhuang City,
Taipei County 24205,
Taiwan


More information about the Koha mailing list