[Koha-translate] Error when installing pt-PT translation

Ivo Esteves ivo.matos.esteves at gmail.com
Mon Feb 14 13:42:39 CET 2011


Hi!

This sequence solve my problem.

I was using the command like the koha wiki says
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client
I'm using Koha 3.2 so I use the command "perl translate install pt-PT".

Fortunately the old way works.

Thank you very much Vitor and the other guys that help me.

If I've some time, I try to help in the translation.

Ivo Esteves

2011/2/11 Vitor Fernandes <vitorfernandes87 at gmail.com>

> Hi Ivo.
>
> Which command do you use to do the translations?
>
> What you can do:
>
> 1) go to the OPAC folder Koha_home/opac/htdocs/opac-tmpl/prog/ and
> create a folder named pt_PT (sudo -u koha mkdir pt_PT)
>
> 2)  go to the intranet folder
> Koha_home/intranet/htdocs/intranet-tmpl/prog/ and create a folder
> named pt_PT (sudo -u koha mkdir pt_PT)
>
> 3) go to the translations folder Koha_home/misc/translator/ and run
> the command to the OPAC translations:
>
> sudo -u koha ./tmpl_process3.pl install -r -i
> ../../opac/htdocs/opac-tmpl/prog/en/ -o
> ../../opac/htdocs/opac-tmpl/prog/pt-PT/ -s
> po/pt-PT-i-opac-t-prog-v-3002000.po (or the file downloaded from the
> translation site)
>
> 4) go to the translations folder Koha_home/misc/translator/ and run
> the command to the intranet translations:
>
> sudo -u koha ./tmpl_process3.pl install -r -i
> ../../intranet/htdocs/intranet-tmpl/prog/en/ -o
> ../../intranet/htdocs/intranet-tmpl/prog/pt-PT/ -s
> po/pt-PT-i-staff-t-prog-v-3002000.po
>
> See if this sequence works for you....
>
> Regards.
> Vitor Fernandes
>
> 2011/2/11 Ivo Esteves <ivo.matos.esteves at gmail.com>:
>  > Hi!
> > Thanks for your reply.
> > I'm going to write in Portuguese, sorry guys!!
> > Quanto à sugestão do Vítor Fernandes, utilizei os ficheiro .po que vinham
> > com o Koha e também utilizei os que estão no site de tradução. O
> > problema mantém-se em qualquer dos casos.
> > Quanto à sugestão do Rafael, é algo que eu já tinha feito com os
> ficheiros
> > .po originais, penso que nos que estavam no site de tradução não tinham
> esse
> > problema. Mas mais uma vez o erro manteve-se.
> > Nos testes que tenho feito, notei que quer tenha ficheiros .po dentro da
> > pasta "../translator/po"  quer não tenha nenhum ficheiro, quando executo
> o
> > comando "perl translate install pt-PT" o comportamento é o mesmo assim
> como
> > os erros.
> > Estou um pouco perdido e já perdi bastante tempo de volta desta situação
> sem
> > qualquer resultado... :(
> > Se me puderem ajudar, ficarei muito agradecido.
> > Cumprimentos,
> > Ivo Esteves
> >
> >
> >
> > 2011/2/3 Rafael Antonio <koha.pt at gmail.com>
> >>
> >> Ivo,
> >>
> >> You need to replace all % s with %s. It solves your problem. During
> >> translation some mistakes were done but I have tested it with version
> 3.2
> >> and it worked.
> >> Any way you can allways download finished translation available from
> >> www.koha-community.org
> >> If you need any help feel free to ask.
> >>
> >> Rafael
> >>
> >>
> >> 2011/2/3 Ivo Esteves <ivo.matos.esteves at gmail.com>
> >>>
> >>> Hi all,
> >>>
> >>> I'm using "Koha Virtual Appliance 3.2 – Configured" and I'm trying to
> >>> translate Koha to Portuguese (pt-PT).
> >>>
> >>> But I get an error when I do "perl translate install pt-PT" under
> >>> "/home/koha/koha-dev/misc/translator"
> >>>
> >>> The error is:
> >>> % s: Unknown or unsupported format specification
> >>>
> >>> I do a little search and see a message saying that "% s" should be
> "%s",
> >>> I edit .po file, replace and save it. But when I run the command again
> the
> >>> error occurred again (it seem to be in other place).
> >>>
> >>> I try the .po files that came with Koha Virtual Appliance and with the
> >>> recent translation files. The same occur.
> >>>
> >>> If someone know how to solve this or if anyone can give me a clue I
> >>> appreciate it very much.
> >>>
> >>> Thank's to everyone,
> >>> Ivo Esteves
> >>>
> >>> PS: Sorry for my poor English :)
> >>> _______________________________________________
> >>> Koha-translate mailing list
> >>> Koha-translate at lists.koha-community.org
> >>>
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-translate
> >>> website: www.koha-community.org
> >>> git: git.koha-community.org
> >>> bugs: bugs.koha-community.org
> >>
> >
> >
> > _______________________________________________
> > Koha-translate mailing list
> > Koha-translate at lists.koha-community.org
> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-translate
> > website: www.koha-community.org
> > git: git.koha-community.org
> > bugs: bugs.koha-community.org
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-translate/attachments/20110214/5757415a/attachment.htm>


More information about the Koha-translate mailing list