Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get words count in PO file

How to calculate a number of words in PO file?
Poedit shows only lines count.
Any help will be appreciated.

like image 371
Eugene Manuilov Avatar asked Apr 18 '12 21:04

Eugene Manuilov


1 Answers

Try pocount

pocount fi.po
fi.po
type              strings      words (source)    words (translation)
translated:      47 (100%)        137 (100%)             123
fuzzy:            0 (  0%)          0 (  0%)             n/a
untranslated:     0 (  0%)          0 (  0%)             n/a
Total:           47               137                    123

unreviewed:       47 (100%)        137 (100%)             123
like image 133
Edu Avatar answered Sep 23 '22 00:09

Edu