[Koha-translate] Malformed header in syspref .po file

Paul Poulain paul.poulain at biblibre.com
Tue May 14 12:39:59 CEST 2013


Le 07/05/2013 18:42, Bernardo Gonzalez Kriegel a écrit :
> 
> I use to download syspref.po, add the header and then upload to pootle.
> We may check how is created/updated.
> 
The .po files are generated by misc/translator/translate script.

Digging a little, I've found that the culprit is probably in
LangInstaller.pm,
sub save_po {
    my $self = shift;
    # Write .po entries into a file put in Koha standard po directory
    Locale::PO->save_file_fromhash( $self->po_filename, $self->{po} );
    say "Saved in file: ", $self->po_filename if $self->{verbose};

Other .po are generated by tmpl_process3.pl AFAIK (but i'm not a
translation process specialist, I may be wrong)

-- 
Paul POULAIN - Associé-gérant
Tel : (33) 4 91 81 35 08
http://www.biblibre.com
Logiciels Libres pour les bibliothèques et les centres de documentation


More information about the Koha-translate mailing list