Question

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

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top