bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gettext-0.11] plural error on fr.po but not on sv.po


From: Bruno Haible
Subject: Re: [gettext-0.11] plural error on fr.po but not on sv.po
Date: Wed, 25 Sep 2002 15:06:16 +0200 (CEST)

Perry Rapp writes:
> 
> gettext 0.11
> 
> I get an error because fr.po lacks a plural heading,
> and has a pluralization translation.
> 
> ** BEGIN QUOTE from fr.po (gives error)
> 
> msgid "There was %d unresolved reference."
> msgid_plural "There were %d unresolved references."
> msgstr[0] "Il y a %d référence non résolue."
> msgstr[1] "Il y a %d références non résolues."
> 
> ** END QUOTE

This is normal. Tell the translator to add a plural form description
to the header of the PO file. (He can do it by moving fr.po to a
backup location and running "msginit"; this will create a nearly empty
fr.po file but with the right plural-forms entry.)

> However, my sv.po also lacks a plural heading, and also
> has a pluralization translation, but it does not
> generate the error.
> 
> ** BEGIN QUOTE from sv.po (does not give error)
> 
> #: src/liflines/add.c:62
> #, fuzzy, c-format
> msgid "There was %d unresolved reference."
> msgid_plural "There were %d unresolved references."
> msgstr[0] "Det fanns %d olöst referens."
> msgstr[1] "Det fanns %d olöst referens."
> 
> ** END QUOTE

Fuzzy messages are not put into the message catalog by msgfmt. The
error will appear once the translator updates the translation and
removes the "fuzzy" attribute.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]