DOKK / manpages / debian 12 / translate-toolkit / pocommentclean.1.en
pocommentclean(1) Translate Toolkit 1.3.0 pocommentclean(1)

pocommentclean - Remove all translator comments from PO files.

pocommentclean [--backup] po-dir

where po-dir is a directory of existing PO files that you want to clean.

pocommentclean will remove all translator comments from a directory of PO files.

Create a backup file for each PO file converted, with the .po.bak extension.

Using sed pocommentclean will delete all lines starting with # but which are not standard Gettext PO format lines. So it won't delete developer comments (#.), obsolete messages (#~), flags (#,) or locations (#:).

pocommentclean cannot clean individual PO files, it only cleans directories.

Translate Toolkit 1.3.0