14

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

Eugene Manuilov
  • 4,271
  • 8
  • 32
  • 48

1 Answers1

20

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
Edu
  • 2,017
  • 17
  • 23
  • 7
    In case you wonder, pocount is part of the translate-toolkit package. In debian-based you can do apt-get install translate-toolkit [EDIT: added installation note for debian distros] – JuanXarg Mar 19 '16 at 23:00