[Po4a-devel]'msgid skipped' warnings

Francois Gouget fgouget@codeweavers.com
Fri Jul 1 09:47:39 UTC 2005


I'm a annoyed by the 'msgid skipped' warnings for two reasons:

  1) they don't give me any line information so I have no way of 
checking the source Sgml file to verify whether po4a did the right thing 
or not. This makes them completely useless.

  2) I can understand po4a-updatepo issuing this warning but should 
po4a-translate really issue this warning too?


I have fixed issue 1 by including the reference in the warning. An 
alternative would be to issue this warning only once and to tell the 
user to set the 'include-all' option if he wants to get all the msgids.


I'm dithering on issue 2. Initially I thought po4a-translate had no 
reason to issue this warning since it's not generating a po file. But 
then if the po file contains 'translations' for these msgids but 
po4a-translate skips them anyway you'd probably want to know.

Maybe the solution to issue 2 is to be able to set 'include-all=no' to 
indicate that you know some msgids are being skipped and you don't want 
to see the warning.

Then maybe this means the right solution to issue 1 is really to only 
issue the warning once and point the user to the 'include-all' option.

Any thoughts on this?

-- 
Francois Gouget
fgouget@codeweavers.com





More information about the Po4a-devel mailing list