Get words count in PO file
Asked Answered
P

1

15

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

Prodigious answered 18/4, 2012 at 21:7 Comment(0)
S
21

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
Saimon answered 18/4, 2012 at 21:40 Comment(1)
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]Tantrum

© 2022 - 2024 — McMap. All rights reserved.