problems translating Koha to spanish
Helo! We have instaled Koha few days ago on a Debian Etch server (perl 5.8.8). It's running perfectly. Now I am trying to translate Koha to spanish following the information I've found in /koha/koha-3.00.00/misc/translator/translator_doc.txt koha:~/koha/koha-3.00.00/misc/translator# ls install-code.pl po stats.pl text-extract.pl TmplTokenizer.pm TmplTokenType.pm translator_doc.txt VerboseWarnings.pm install.pl rebuild_lang.sh text-extract2.pl tmpl_process3.pl TmplToken.pm translator_doc.html update.pl xgettext.pl When I run the script .... koha:~/koha/koha-3.00.00/misc/translator# ./tmpl_process3.pl install --input=/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en -o=/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/es -s=po/es-ES-i-staff-t-prog-v-3000000.po -r -q ... I get some warnings: Charset in/out: UTF-8 at ./tmpl_process3.pl line 257. % s: Unknown or unsupported format specification I think that the first one ("Charset in/out: UTF-8 at ./tmpl_process3.pl line 257") is not really a problem, just information about locale. But the second line ( % s: Unknown or unsupported format specification) is really a warning about an error, but I don't know exactly what does it mean and wich is the solution Do you know whether it is a bug or I'm doing something wrong? Gustavo -- *************************** HOSPITAL "12 de OCTUBRE" BIBLIOTECA Gustavo Roig Avda. Andalucía - Km 5,400 28.041 - MADRID Tel.: 91 390 8551 Fax: 91 390 8358 mailto: gustavobiblio@h12o.es ***************************
thanks Beda, I've replaced % s by %s and the script ran fine. So I've seen that po/staff-es_ES.po file that come with koha 3.0 have many lines not translated. I've achieved complete translation to spanish in 5 minutes reading this how-to that gave me Pablo Bianchi http://wiki.koha.org/doku.php?do=show&id=spanish Thanks Beda, thanks Pablo!! Beda Szukics escribió:
Good day Gustavo
gustavo schrieb:
Charset in/out: UTF-8 at ./tmpl_process3.pl line 257. % s: Unknown or unsupported format specification
I guess it's just some misstyped string: There should be %s instead of % s
Cheers Beda _______________________________________________ Koha-translate mailing list Koha-translate@listes.koha-fr.org http://listes.koha-fr.org/mailman/listinfo/koha-translate
-- *************************** HOSPITAL "12 de OCTUBRE" BIBLIOTECA Gustavo Roig Avda. Andalucía - Km 5,400 28.041 - MADRID Tel.: 91 390 8551 Fax: 91 390 8358 mailto: gustavobiblio@h12o.es ***************************
participants (2)
-
Beda Szukics -
gustavo