[Koha] question on adding new languages

Fischer, Katrin Katrin.Fischer at bsz-bw.de
Tue Dec 20 19:14:36 NZDT 2011


Hi Hugo, 

I use a software called Poedit to find those problems and fix them. I am sure there are other ways to do it, but that's what I do:

1) Open the po file in Poedit.
2) Try to save the file and Poedit will start to complain about any fatal errors in the file.
3) Look at the line numbers of the errors and locate them in the editor. Normally the line number is off by 1.
4) Fix all mistakes until the po file can be saved.

If you don't get any error messages upon saving try to change the preferences of the editor.

I checked the Spanish OPAC po file on translate.koha-community.org and found no errors. 
But there is one error in the file released with 3.6.1:

...2927: number of format specifications in 'msgid' and 'msgstr' does not match
06:47:45: msgfmt: found 1 fatal error

2926:
%s since %s%s 
%s %s %s%s 

I think fixing this could help your problem.
Another option could be using the updated files from translate.koha-community.org.

Hope this helps,

Katrin


-----Ursprüngliche Nachricht-----
Von: koha-bounces at lists.katipo.co.nz im Auftrag von Hugo Agud
Gesendet: Di 20.12.2011 01:31
An: Koha list
Betreff: [Koha] question on adding new languages
 
Hi to everybody

We have already install one koha 3.6.1 into ubuntu 11.04 and after the
installation we have tried to install the spanish package we are
experiencing problems with the detailed view of the OPAC, while in the
english version us running fine.

I have revied some old post and I have seen some similar behaviour with
Koha 3.4

http://lists.katipo.co.nz/public/koha/2011-June/029486.html

current problem:
Software error:

Template process failed: file error - parse error -
/home/ubuntu/koha/opac/htdocs/opac-tmpl/prog/es-ES/modules/opac-detail.tt
line 652: unexpected end of input at
/home/ubuntu/koha/lib/C4/Templates.pm line 125.



I wish to ask you If you think that it could be the same problem I think it
is... but I wish to share with you

According the old mails the problem rasies from a %s missing links in the
po files, we can check by our own and fix in the templates... but we need
some support to identigy the problem in the .po files...

any body may guide us to fix the problem and we will release the corrected
files to the community

Kindest Regards
Hugo

-- 

*Hugo Agud - Orex Digital *

*www.orex.es*

*
*

 Director

Avenida Sarriá 29 · 08029 Barcelona <http://twitter.com/OrexDigital>
:<http://orexsl.blogspot.com>hugoaguda - Tel: 93 539 40 70 Fax: 93 539
33 30
hagud at orex.es · http://www.orex.es/



No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
implica la tala de 15 árboles y el consumo de 250.000 litros de agua.



Aviso de confidencialidad
Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
está autorizado a recibirlo por el remitente), no está autorizado a copiar,
reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje
por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katipo.co.nz/pipermail/koha/attachments/20111220/47ab82aa/attachment-0001.html>


More information about the Koha mailing list