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

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

Re: Method behind the madness?


From: Benno Schulenberg
Subject: Re: Method behind the madness?
Date: Mon, 14 Mar 2005 19:17:52 +0100
User-agent: KMail/1.8

Bruno Haible wrote:
> Steve Murphy wrote:
> > 2. If the def po file has a matching msgid, and the msgstr is
> > empty, then, unless an exact match with something better
> >     in it is found later in the definitions lists, then, the
> > empty msgstr ("") is used, and no fuzzy matches are attempted.
>
> It was designed like this,

But why?  An empty string can never be the translation of a msgid, 
so why not try to also fuzzy match the ones that couldn't be matched 
somewhere in the past?

>   - The fuzzy matching is disappointing for you because the PO
> file that you receive has already been msgmerged without your
> compendium, and then when you msgmerge with your compendium, your
> compendium is entirely ignored?

This is how I work around this:
msgmerge --no-fuzzy-matching --compendium=thecompendium \
                /dev/null old.po >/tmp/stan  &&
msgmerge --compendium=old.po /tmp/stan new.pot >new.po

Benno




reply via email to

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