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@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@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 :)