[Koha] languages lost after upgrading from 3.0 to 3.6

Gerard Henry ghenry at cmi.univ-mrs.fr
Thu Jul 5 00:09:02 NZST 2012


On 07/04/12 12:09 PM, Chris Cormack wrote:
> On 4 July 2012 21:59, Gerard Henry<ghenry at cmi.univ-mrs.fr>  wrote:
>> thanks for your reply
>>
>> but, as i tried to explain, i'm upgrading from 3.0 where the languages are
>> already installed. The corresponding files are here. Except that the
>> upgraded 3.6 now doesn't see them
>>
> Yes, but they are for 3.0.
>
> 1/ 3.6.x uses Template::Toolkit not HTML::Template::Pro, so even if it
> found them, they wouldn't
> 2/ There have been literally hundreds (thousands) of changes to the
> templates in the years since 3.0. Those generated templates will not
> work anymore, even if they were the right syntax
>
> So David is right, you need to regenerate your templates, and you
> should do this after every upgrade
>

ok, i just did it:
  env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/local/koha/lib/ 
perl translate install fr-FR
tmpl_process3.pl: Warning: unconsistent %s count: (0/1):
   line:   70660
   msgid:  "Total amount to be written ofsf:"
   msgstr: "Total des pertes et profits : %s"
tmpl_process3.pl: Warning: unconsistent %s count: (3/4):
   line:   10980
   msgid:  "%s %%] %s %s "
   msgstr: "%s %s] %s %s "

but there is nothing yet in opaclanguagesdisplay

is there anything am i missing?

thanks for help,

gerard



More information about the Koha mailing list