Translate: Can't locate C4/TmplTokenType.pm in @INC
I try to install the translation for koha-3.04.08.000 (on Ubuntu 11.10, Perl 5.012004): $ sudo ./tmpl_process3.pl install \ -i /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/ \ -o /usr/share/koha/opac/htdocs/opac-tmpl/prog/de-DE/ \ -s /usr/share/koha/misc/translator/po/de-DE-i-opac-t-prog-v-3002000.po \ -r but it doesn’t work, it says: Can’t locate C4/TmplTokenType.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at TmplTokenizer.pm line 5. Compilation failed—compilation aborted at TmplTokenizer.pm line 19. BEGIN failed—compilation aborted at ./tmpl_process3.pl line 19. best regards
On 2 April 2012 07:32, <markus.mohr@aon.at> wrote:
I try to install the translation for koha-3.04.08.000 (on Ubuntu 11.10, Perl 5.012004):
$ sudo ./tmpl_process3.pl install \ -i /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/ \ -o /usr/share/koha/opac/htdocs/opac-tmpl/prog/de-DE/ \ -s /usr/share/koha/misc/translator/po/de-DE-i-opac-t-prog-v-3002000.po \ -r
but it doesn’t work, it says:
Since about Koha 3.2.x now build the templates using the translate command Move into the misc/translate directory and execute this command, where xy-XY is the code for your language: translate install xy-XY You might need to export PERL5LIB also to make sure the modules are in the path. Chris
participants (2)
-
Chris Cormack -
markus.mohr@aon.at