> How does it compare with msgfmt? Translators usually use msgfmt to
> check for errors right now.

Indeed,... and a run of i18nspector over po files in the archive shows lots of 
problems. i18nspector tests much more than msgfmt -- it simply catches lots of 
problems that msgfmt misses. Perhaps the easiest thing to do is to show what 
the two tools say about a couple of random .po files I have here from another 
project:

$ msgfmt -c reports.po 
reports.po:7: header field `Project-Id-Version' still has the initial default 
value

$ i18nspector reports.po 
W: reports.po: boilerplate-in-project-id-version 'PACKAGE VERSION'
W: reports.po: invalid-last-translator 'Automatic <>'
W: reports.po: boilerplate-in-language-team 'LANGUAGE <l...@li.org>'
W: reports.po: unusual-character-in-translation U+009F control character APC: 
'Ã\x9f'

(where reports.po was UTF-8 encoded but the header claimed it to be 
ISO-8859-1)

cheers
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/         stu...@debian.org
GPG fingerprint    BE65 FD1E F4EA 08F3 23D4 3C6D 9FE8 B8CD 71C5 D1A8
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201212280006.15509.stu...@debian.org

Reply via email to