[Pkg-isocodes-devel] unfuzzying PO files
Christian Perrier
bubulle at debian.org
Sun Mar 16 07:21:49 UTC 2008
Quoting Kamal Mostafa (kamal at whence.com):
> Okay, the extra blanks in the Malta entries in iso_3166_2.xml have been removed...
>
>
> Christian Perrier wrote:
> > I think that you can also unfuzzy PO files
> >
> So much for an "easy first change" ;-)
>
> This is my first experience with PO file manipulation, but I think I figured it out. Please review change r1378.
>
> After "make update-po" I did need to manually unfuzzy and clean up just a few of the newly merged PO's. A couple of them were straightforward, but these two were strange (but I think they're good now):
>
> - sk.po - After update-po it acquired strange totally incorrect new msgstr's for the entries I had changed, each tagged with a [geodesy] comment line -- where did they come from? For example, it acquired a new translation for MT-53 "Santa Lucija" as "Santa Cruz de Tenerife". I removed those new entries.
This is fuzzy matching. If msgid A is "close enough" from
msgid B, which is translated (and not fuzzy) and msgstr A does not
exist, then msgstr B is put into msgstr A and marked fuzzy.
This allows pre-filling new strings with "close enough" translations,
which is sometimes practical for translators.
In our iso-codes strings, that sometimes gives strange results because
our strings are very short and therefore "close enough" sometimes
matches things that aren't related at all.
This does not really harm as fuzzy matched strings are marked fuzzy
anyway.
I recommend *not* touching the files.
In general, I recommend never ever changing *translations* even if
things look weird to us.
> - wa.po - After update-po it acquired just one new mysterious msgstr, translating MT-53 "Santa Lucija" to "Son". I see additional questionable "Son" translations in that file. I removed it.
That does not really harm, but in application of the principle
'Thou shalt never change msgstr", you shouldn't have.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-isocodes-devel/attachments/20080316/36c9fb16/attachment.pgp
More information about the Pkg-isocodes-devel
mailing list