Translation update failed

View: New views
4 Messages — Rating Filter:   Alert me  

Translation update failed

by Beda Szukics-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I have been working on the german translation of the staff- and
opac-files (from 3.0beta). I didn't do it using translate.koha.org but
worked locally using poedit.

Now I tried to update my files. I copied my version into
/usr/share/koha/misc/translator/po overwriting the existing po-files.

I tried the following:

koha@verwaltung:/usr/share/koha/misc/translator$ ./tmpl_process3.pl
update -i ../../intranet/htdocs/intranet-tmpl/prog/en/ -s
po/de-DE-i-staff-t-prog-v-3000000.po
Charset in/out: UTF-8 at ./tmpl_process3.pl line 257.

and I get:

Update FAILED.

The same happens with the opac-file.
What could be wrong?

Whoever wishes to have a look at my version may visit
http://www.muri-gries.ch/Membr83/

thanks                    Beda


_______________________________________________
Koha-translate mailing list
Koha-translate@...
http://lists.nongnu.org/mailman/listinfo/koha-translate

Re: Translation update failed

by Frederic Demians :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> koha@verwaltung:/usr/share/koha/misc/translator$ ./tmpl_process3.pl
> update -i ../../intranet/htdocs/intranet-tmpl/prog/en/ -s
> po/de-DE-i-staff-t-prog-v-3000000.po
> Charset in/out: UTF-8 at ./tmpl_process3.pl line 257.
>
> and I get:
>
> Update FAILED.
>
> The same happens with the opac-file.
> What could be wrong?
>
> Whoever wishes to have a look at my version may visit
> http://www.muri-gries.ch/Membr83/

For me, it works:

    cd <koha-root>/misc/translator
    ./install-code.pl de-DE

This command builds all templates from your .PO files.


_______________________________________________
Koha-translate mailing list
Koha-translate@...
http://lists.nongnu.org/mailman/listinfo/koha-translate

Re: Translation update failed

by Frédéric DEMIANS-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I tried the following:
>
> koha@verwaltung:/usr/share/koha/misc/translator$ ./tmpl_process3.pl
> update -i ../../intranet/htdocs/intranet-tmpl/prog/en/ -s
> po/de-DE-i-staff-t-prog-v-3000000.po
> Charset in/out: UTF-8 at ./tmpl_process3.pl line 257.
>
> and I get:
>
> Update FAILED.

I get the same error, both with OPAC and Staff templates. I also get it
with .PO file creation:

./tmpl_process3.pl create -i
../../intranet/htdocs/intranet-tmpl/prog/en/ -s
po/de-DE-i-staff-t-prog-v-3000000.po

I've found a solution. A Linux command is missing: msgmerge. On Debian
it is packaged in 'gettext' package.



_______________________________________________
Koha-translate mailing list
Koha-translate@...
http://lists.nongnu.org/mailman/listinfo/koha-translate

Re: Translation update failed

by Frederic Demians :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I tried the following:
>
> koha@verwaltung:/usr/share/koha/misc/translator$ ./tmpl_process3.pl
> update -i ../../intranet/htdocs/intranet-tmpl/prog/en/ -s
> po/de-DE-i-staff-t-prog-v-3000000.po
> Charset in/out: UTF-8 at ./tmpl_process3.pl line 257.
>
> and I get:
>
> Update FAILED.

I get the same error, both with OPAC and Staff templates. I also get it
with .PO file creation:

./tmpl_process3.pl create -i
../../intranet/htdocs/intranet-tmpl/prog/en/ -s
po/de-DE-i-staff-t-prog-v-3000000.po

I've found a solution. A Linux command is missing: msgmerge. On Debian
it is packaged in 'gettext' package.




_______________________________________________
Koha-translate mailing list
Koha-translate@...
http://lists.nongnu.org/mailman/listinfo/koha-translate