Shifting to Koha-translate, please reply to that :)
On 10 Jun 2011 07:39, "Beda Szukics" <beda@kollegium-sarnen.ch> wrote:
>
> Am 08.06.2011 18:38, schrieb Beda Szukics:
> > Am 08.06.2011 06:22, schrieb Chris Cormack:
> >> On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
> >>> So I did: perl translate install de-DE.
> >>>
> >>> Now at some point I allway get (for example: while I try to alter
> >>> system-preferences):
> >>>
> >>> Software error:
> >>>
> >>> Template process failed: file error - prefs-admin-search.inc: not found at
> >>> /usr/share/koha/lib/C4/Templates.pm line 119.
> >>>
> >>> For help, please send mail to the webmaster (beda@kollegium-sarnen.ch),
> >>> giving this error message and the time and date of the error.
> >>>
> >> Hmm,
> >>
> >> That should have worked, maybe Katrin can shed some light on it, she
> >> has had 3.4.x running in german before.
> >> I suspect that the translate command didnt complete, did it give you
> >> any errors when you ran it?
> > Yes. The actual po-files for german have some errors (mainly wrong
> > %-statements). I corrected them locally and will try to add these
> > corrections to translate.koha-community.org.
> >
> > Now things are ok :-)
> Sadly not everything is o.k.
>
> Trying to edit an authority I get:
>
> Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/detail.tt line 75: unexpected end
>
> in the log-file I find:
>
> detail.pl: Template process failed: file error - parse error -
> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/detail.tt
> line 75: unexpected end of input at /usr/share/koha/lib/C4/Templates.pm
> line 119., referer:
> http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=mainmainentry&operator=contains&value=H%C3%BCrbin&orderby=HeadingAsc
>
>
> Trying to go to Start->Katalogisierung I get:
>
> Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/addbooks.tt line 39: unexpected token (END)
> [% END %] at /usr/share/koha/lib/C4/Templates.pm line 119.
>
> and in the logs:
>
> [Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun 9
> 21:34:44 2011] addbooks.pl: Template process failed: file error - parse
> error -
> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/addbooks.tt
> line 39: unexpected token (END), referer:
> http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl
> [Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun 9
> 21:34:44 2011] addbooks.pl: [% END %] at
> /usr/share/koha/lib/C4/Templates.pm line 119., referer:
> http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl
>
> I think it's still a translation issue. If I switch the language to en,
> both links are working fine.
>
> Any hints?
>
Its most likely a broken template var, done by the translation. I think a missing %s
But the translators might have better ideas.
Chris
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha@lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha