====== pocommentclean ====== pocommentclean will remove all translator comments from a directory of PO files. ===== Prerequisites ===== * [[man>sed]] ===== Latest Version ===== pocommentclean is not currently distributed as part of the toolkit. You can get the [[http://translate.svn.sourceforge.net/viewvc/*checkout*/translate/src/trunk/tools/pocommentclean|latest version from Subversion]] ===== Usage ===== pocommentclean [--backup] Where: | po | is a directory of existing PO files that you want to clean | Options: | -- backup | Create a backup file for each PO file converted, .po.bak | ===== Operation ===== 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 (#:). ===== Bugs ===== pocommentclean cannot clean individual PO files, it only cleans directories