On 16 June 2011 14:01, faku <journals.digital@gmail.com> wrote:
Thanks for replay!
I tried it now. Result:
user@PC:/usr/share/koha/misc/translator$ perl translate de-DE 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
A couple of things: 1. You need to set the PERL5LIB environment variable from the command line, before running the script. If you have a standard install that would be: export PERL5LIB=/usr/share/koha/lib 2. It's "perl translate install de-DE", not just "perl translate de-DE". Best regards, Magnus Enger libriotech.no