Package: po4a
Version: 0.40.2
Severity: normal

Dear Nicolas,

working on the translation of the manpages package I encountered the following problem:
- a po file without fuzzy strings,
- calling po4a-translate fails with something that can be roughly translated as "translation
  of $name discarded, only $num translated, need $limit".

I'm afraid it's an encoding issue (character with wrong encoding). I remember to have had
similar problems working on the iso-8859-*.7 manpages.

The problem can be reproduced with the two files attached. I run squeeze.

******************

po4a-translate -f man -m termcap-with-error.5 -p termcap-with-error.5.po -v -d 1> /dev/null

readpo(termcap-with-error.5.po)... done.
read(termcap-with-error.5)...done.
parse...done.
Die Übersetzung von termcap-with-error.5 wird verworfen (nur 37.5% übersetzt; brauche 80%)

po4a-translate -f man -m termcap-with-error.5 -p termcap-with-error.5.po -v -d

-> same output as above

po4a-translate -f man -m termcap-with-error.5 -p termcap-with-error.5.po -v -d -k 30

readpo(termcap-with-error.5.po)... done.
read(termcap-with-error.5)...done.
parse...done.
termcap-with-error.5 ist zu 37.5% übersetzt (3 von 8 Zeichenketten).
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH TERMCAP 5 1996\-10\-21 Linux "Linux Programmer's Manual"
.SH "SIEHE AUCH"
\fBncurses\fP(3), \fBtermcap\fP(3), \fBterminfo\fP(5)
.SH KOLOPHON
This page is part of release 3.32 of the Linux \fIman\-pages\fP project.  A
description of the project, and information about reporting bugs, can be
found at http://www.kernel.org/doc/man\-pages/.

But:

    msgfmt -cv termcap-with-error.5.po
4 übersetzte Meldungen.

*******************

Kind regards
       Martin

msgid ""
msgstr ""
"Project-Id-Version: termcap.5\n"
"POT-Creation-Date: 2010-11-09 22:18+0100\n"
"PO-Revision-Date: 2011-08-10 09:51+0200\n"
"Last-Translator: Martin Schauer <martin.e.scha...@gmx.de>\n"
"Language-Team: German <debian-l10n-ger...@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.0\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. type: SH
#: ../../english/man-pages-3.29/man5/termcap.5:469
#, no-wrap
msgid "SEE ALSO"
msgstr "SIEHE AUCH"

#. type: Plain text
#: ../../english/man-pages-3.29/man5/termcap.5:473
msgid "B<ncurses>(3), B<termcap>(3), B<terminfo>(5)"
msgstr "B<ncurses>(3), B<termcap>(3), B<terminfo>(5)"

#. type: SH
#: ../../english/man-pages-3.29/man5/termcap.5:473
#, no-wrap
msgid "COLOPHON"
msgstr "KOLOPHON"

#. type: Plain text
#: ../../english/man-pages-3.29/man5/termcap.5:480
msgid ""
"This page is part of release 3.29 of the Linux I<man-pages> project.  A "
"description of the project, and information about reporting bugs, can be "
"found at http://www.kernel.org/doc/man-pages/.";
msgstr ""
"Diese Seite ist Teil der Veröffentlichung 3.29 des Projekts Linux-I<man-"
"pages>. Eine Beschreibung des Projekts und Informationen über das Berichten "
"von Fehlern finden sich unter http://www.kernel.org/doc/man-pages/.";


.TH TERMCAP 5 1996-10-21 "Linux" "Linux Programmer's Manual"
.SH "SEE ALSO"
.BR ncurses (3),
.BR termcap (3),
.BR terminfo (5)
.SH COLOPHON
This page is part of release 3.32 of the Linux
.I man-pages
project.
A description of the project,
and information about reporting bugs,
can be found at
http://www.kernel.org/doc/man-pages/.

Reply via email to