I use this alias :

alias oinc='msgfmt --statistics -o /dev/null -c -v'

(-o /dev/null to avoid the creation of a messages.mo file)

$ oinc pt.po 

:))


----- Mensagem Original-----
De: vince <[EMAIL PROTECTED]>
Para: [email protected]
Assunto: Check whether a .po file is OK
Data: Wed, 01 Oct 2008 07:45:42 +0200

Hi everyone

I wonder how I can check whether a .po file is OK or whether it has
error.

Currently I
- first try to compile it with gtranslator
- then try to compile it from the command line with "msgfmt" (as I saw
that sometimes gtranslator compiles successfully and does not warn over
eventual errors)

Is that enough, or do I have to make other checks? And which ones?

Thanks in advance for your replies
vince




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to