1pocount(1) Translate Toolkit 1.3.0 pocount(1)
2
3
4
6 pocount - Produces word counts and other statistics from a PO file.
7
9 pocount [--csv] [directory|file(s)]
10
12 pocount will count the number of strings and words in a PO file.
13
14 If no files or directories argument are provided, pocount will recurse
15 through all files from the current directory. Otherwise, it will
16 recurse and count all files in the specified directory or in the speci‐
17 fied PO files.
18
20 --csv changes the output format to CSV (Comma Separated Values) for
21 import into a spreadsheet.
22
24 In normal mode the following output is given:
25
26 avmedia/source/viewer.po
27 type strings words (source) words (translation)
28 translated: 1 3 3
29 fuzzy: 0 0 n/a
30 untranslated: 4 22 n/a
31 Total: 5 25 3
32 review 1 3 n/a
33
34 In CSV mode the following outut is shown:
35
36 Filename, Translated Messages, Translated Source Words, Translated
37 Target Words, Fuzzy Messages, Fuzzy Source Words, Untranslated Mes‐
38 sages, Untranslated Source Words, Review Messages, Review Source Words
39 avmedia/source/viewer.po, 1, 3, 3, 0, 0, 4, 22, 1, 3
40
41 Totals are not provided in CSV mode. In normal mode a grand total and
42 file count is provided if the number of files is greater than one.
43
45 There are some miscounts related to word breaks.
46
47
48
49 Translate Toolkit 1.3.0 pocount(1)