[Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-03 Thread Gerard Henry

hello all,
i'm doing the upgrade. In 3.0, we have the languages:
en
fr-FR
de-DE
ed-ES
in opaclanguagesdisplay

but after the upgrade, opaclanguages display is empty, it is not 
possible to select languages.

The dirs are presents:
# ls -l /usr/local/koha/opac/htdocs/opac-tmpl/prog
total 28
drwxr-x--x 7 koha koha 4096 2009-11-26 18:40 de-DE
drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 en
drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 es-ES
drwxr-x--x 4 koha koha 4096 2012-06-27 10:39 famfamfam
drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 fr-FR
drwxr-x--x 2 koha koha 4096 2012-06-27 10:39 images
drwxr-x--x 9 koha koha 4096 2012-06-27 10:34 itemtypeimg

what am i missing? anybody can help?

thanks in advance

gerard
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread David Nind
Hi Gerard.

I haven't had to work with multiple languages (either a fresh install or
after an upgrade).

However, this wiki page may help:
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client#Koha_3.2_and_newer_versions

And this manual page:
http://manual.koha-community.org/3.6/en/administration.html#l18nprefs


David Nind | david.n...@gmail.com
PO Box 12367, Thorndon, Wellington, New Zealand 6144
h. +64 4 9720 600 | m. +64 21 0537 847 | w. +64 4 8906 098

On 4 July 2012 05:39, Gerard Henry  wrote:

> hello all,
> i'm doing the upgrade. In 3.0, we have the languages:
> en
> fr-FR
> de-DE
> ed-ES
> in opaclanguagesdisplay
>
> but after the upgrade, opaclanguages display is empty, it is not possible
> to select languages.
> The dirs are presents:
> # ls -l /usr/local/koha/opac/htdocs/**opac-tmpl/prog
> total 28
> drwxr-x--x 7 koha koha 4096 2009-11-26 18:40 de-DE
> drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 en
> drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 es-ES
> drwxr-x--x 4 koha koha 4096 2012-06-27 10:39 famfamfam
> drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 fr-FR
> drwxr-x--x 2 koha koha 4096 2012-06-27 10:39 images
> drwxr-x--x 9 koha koha 4096 2012-06-27 10:34 itemtypeimg
>
> what am i missing? anybody can help?
>
> thanks in advance
>
> gerard
> __**_
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> http://lists.katipo.co.nz/**mailman/listinfo/koha
>
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Gerard Henry

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





On 07/04/12 09:31 AM, David Nind wrote:

Hi Gerard.

I haven't had to work with multiple languages (either a fresh install or
after an upgrade).

However, this wiki page may help:
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client#Koha_3.2_and_newer_versions

And this manual page:
http://manual.koha-community.org/3.6/en/administration.html#l18nprefs


David Nind | david.n...@gmail.com 
PO Box 12367, Thorndon, Wellington, New Zealand 6144
h. +64 4 9720 600 | m. +64 21 0537 847 | w. +64 4 8906 098

On 4 July 2012 05:39, Gerard Henry mailto:ghe...@cmi.univ-mrs.fr>> wrote:

hello all,
i'm doing the upgrade. In 3.0, we have the languages:
en
fr-FR
de-DE
ed-ES
in opaclanguagesdisplay

but after the upgrade, opaclanguages display is empty, it is not
possible to select languages.
The dirs are presents:
# ls -l /usr/local/koha/opac/htdocs/__opac-tmpl/prog
total 28
drwxr-x--x 7 koha koha 4096 2009-11-26 18:40 de-DE
drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 en
drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 es-ES
drwxr-x--x 4 koha koha 4096 2012-06-27 10:39 famfamfam
drwxr-x--x 8 koha koha 4096 2009-11-26 18:40 fr-FR
drwxr-x--x 2 koha koha 4096 2012-06-27 10:39 images
drwxr-x--x 9 koha koha 4096 2012-06-27 10:34 itemtypeimg

what am i missing? anybody can help?

thanks in advance

gerard
_
Koha mailing list http://koha-community.org
Koha@lists.katipo.co.nz 
http://lists.katipo.co.nz/__mailman/listinfo/koha





___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Robin Sheat
Op 04-07-12 10:59, Gerard Henry schreef:
> 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

When you upgrade, translations and methods of deploying the translations
change. Did you try regenerating them as explained in the links David
posted?

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Chris Cormack
On 4 July 2012 21:59, Gerard Henry  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

Chris
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Gerard Henry

On 07/04/12 12:09 PM, Chris Cormack wrote:

On 4 July 2012 21:59, Gerard Henry  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

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread David Nind
Hi Gerard.

I'm not sure whether the warning messages mean there was a problem and it
didn't work. I didn't get any messages on a 3.8 package install (I don't
have 3.6 installed to try it out).

 but there is nothing yet in opaclanguagesdisplay
>
> is there anything am i missing?
>
After installing a new language it has to be activated in the system
preference editor:

 More > Administration > Global System Preferences > I18N/L10N

opaclanguagesdisplay should be set to allow, for the settings above this
for language and opaclanguages there should be a tick box for French next
to them.

David Nind | david.n...@gmail.com
PO Box 12367, Thorndon, Wellington, New Zealand 6144
h. +64 4 9720 600 | m. +64 21 0537 847 | w. +64 4 8906 098
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Gerard Henry

at the beginning of the wiki:
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client

there is: Getting the latest translation files
"For many languages the stable Koha installation packages come with 
outdated or disfunctional translation files. Thus it is a good idea to 
download the latest translation files"

but the link http://translate.koha.org/ only displays "it works"

on this page:
http://translate.koha-community.org/fr/36/
i don't understand how i can retrieve the files

do i need to download files from 3.8 release, even if i'm using 3.6 ?




___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Jared Camins-Esakov
Gerard,

at the beginning of the wiki:
> http://wiki.koha-community.**org/wiki/Installation_of_**
> additional_languages_for_OPAC_**and_INTRANET_staff_client
>
> there is: Getting the latest translation files
> "For many languages the stable Koha installation packages come with
> outdated or disfunctional translation files. Thus it is a good idea to
> download the latest translation files"
> but the link http://translate.koha.org/ only displays "it works"
>

That link is wrong. It should be http://translate.koha-community.org/ (I am
fixing it now)

on this page:
> http://translate.koha-**community.org/fr/36/
> i don't understand how i can retrieve the files
>
> do i need to download files from 3.8 release, even if i'm using 3.6 ?


If you are using a recent 3.6 release, you should not need to download new
files.

Regards,
Jared

-- 
Jared Camins-Esakov
Bibliographer, C & P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcam...@cpbibliography.com
(web) http://www.cpbibliography.com/
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Gerard Henry

On 07/04/12 02:09 PM, Gerard Henry wrote:

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


i tested the same command on another fresh install of koha 3.6, and as 
it works, i remove the old files (came from the upgrade) and replaced 
them by the new files. It works now, but i have to report all the 
modifcations made in templates


thanks to everybody for help

gerard
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Beda Szukics
Am 04.07.2012 15:16, schrieb Gerard Henry:
> on this page:
> http://translate.koha-community.org/fr/36/

That's the right one.

> i don't understand how i can retrieve the files

Go to the tab "Translate". There you have the files. Right-click
"Download" and select "Save as" (or save the displayed file using the
correct file name).

> do i need to download files from 3.8 release, even if i'm using 3.6 ?

Those won't work with 3.6

Beda
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] languages lost after upgrading from 3.0 to 3.6

2012-07-04 Thread Frédéric Demians

> 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 "

This is just warnings. It means that 2 strings will not be translated
from English to French due to errors in the translation. This is a very
marginal issue.

Kind regards,
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha