[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with using msgmerge
From: |
Bruno Haible |
Subject: |
Re: problem with using msgmerge |
Date: |
Tue, 19 Nov 2002 15:18:56 +0100 (CET) |
Keld Simonsen writes:
> I have a problem with the 0.11.5 version of msgmerge, that was not a
> problem in 0.10.39. The problem is that the new msgmerge discards the
> translations of the ref.po file, instead of adding them and marking them
> as fuzzy.
Hi,
The use case you describe is not the intended use of msgmerge. Furthermore,
msgmerge's behaviour for the case you describe has not changed since
gettext-0.10.35 (except that it now gets the encoding right if def.po and
ref.po come in different encodings). As a test case, find appended two
files x.po and y.po. With gettext 0.10.35, 0.10.36, 0.11.5 each time I
get the same result for "msgmerge x.po y.po -o z.po".
> I use this to merge my danish translations with eg newer Swedish,
> Norwegian or even German translations, that I have done some
> preprocessing on. I get quite some productivity out of this scheme.
>
> I need something that can merge the old translations with some new
> translations, that needs to be checked, and thus marked eg as fuzzy.
For your case - reusing translations to other languages - I would recommend
using the compendium option (-C). The compendium should be an "msgcat" of the
translation to the other language, filtered through "msgattrib --set-fuzzy".
Bruno
x.po
Description: x.po
y.po
Description: y.po
z.po
Description: z.po