Installation of Spanish language
Dear Friends, I am trying to install spanish for my friend. I followed instructions in following link, http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for... I tried the first method of language installation and got following error: root@vimal:/usr/share/koha/misc/translator# perl translate install fr-FRCan't locate C4/Context.pm in @INC (@INC contains: /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at LangInstaller.pm line 22. BEGIN failed--compilation aborted at LangInstaller.pm line 22. Compilation failed in require at translate line 25. BEGIN failed--compilation aborted at translate line 25. My koha installation using Ubuntu packages. Any different method of language installation for this type installation? -- Vimal Kumar V. Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in --------------------------------------------------------------------------- "I forget what I was taught. I only remember what I have learnt" -Patrick White
Greetings, You said: root@vimal:/usr/share/koha/misc/translator# perl translate install fr-FRCan't locate C4/Context.pm in @INC (@INC contains: /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at LangInstaller.pm line 22. BEGIN failed--compilation aborted at LangInstaller.pm line 22. Compilation failed in require at translate line 25. BEGIN failed--compilation aborted at translate line 25. Did you set the PERL5LIB environment variable before calling it? GPML, Mark Tompsett
Dear Mark, Pls tell the steps to PERL5LIB environment setting? Regards, On Thu, Mar 28, 2013 at 1:14 AM, Mark Tompsett <mtompset@hotmail.com> wrote:
Greetings,
You said: root@vimal:/usr/share/koha/misc/translator# perl translate install fr-FRCan't locate C4/Context.pm in @INC (@INC contains: /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at LangInstaller.pm line 22. BEGIN failed--compilation aborted at LangInstaller.pm line 22. Compilation failed in require at translate line 25. BEGIN failed--compilation aborted at translate line 25.
Did you set the PERL5LIB environment variable before calling it?
GPML, Mark Tompsett
-- Vimal Kumar V. Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in --------------------------------------------------------------------------- "I forget what I was taught. I only remember what I have learnt" -Patrick White
Vimal, are you trying to install spanish or french? With packages you only need to do this: As root export PERL5LIB=/usr/share/koha/lib cd /usr/share/koha/misc/translator perl translate install es-ES and you are done. Now in each instance that you want to show spanish, go to System Preferences > I18N/L10N and check the checkbox for spanish in languages and opaclanguages. It's also useful to enable opaclanguagesdisplay. Regards, Bernardo -- Bernardo Gonzalez Kriegel bgkriegel@gmail.com On Wed, Mar 27, 2013 at 4:31 PM, Vimal Kumar V. <vimal0212@gmail.com> wrote:
Dear Friends,
I am trying to install spanish for my friend. I followed instructions in following link,
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for...
I tried the first method of language installation and got following error:
root@vimal:/usr/share/koha/misc/translator# perl translate install fr-FRCan't locate C4/Context.pm in @INC (@INC contains: /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at LangInstaller.pm line 22. BEGIN failed--compilation aborted at LangInstaller.pm line 22. Compilation failed in require at translate line 25. BEGIN failed--compilation aborted at translate line 25.
My koha installation using Ubuntu packages. Any different method of language installation for this type installation?
-- Vimal Kumar V. Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in --------------------------------------------------------------------------- "I forget what I was taught. I only remember what I have learnt" -Patrick White _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (3)
-
Bernardo Gonzalez Kriegel -
Mark Tompsett -
Vimal Kumar V.