From kde-i18n-doc Mon Jul 17 10:10:58 2006 From: "Nick Shaforostoff" Date: Mon, 17 Jul 2006 10:10:58 +0000 To: kde-i18n-doc Subject: Re: command to strip po file Message-Id: X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=115313102224144 > Is there a gettext or other type of command to strip a translated *.po > file so that it becomes empty of translation (as a *.pot)? msgfmt --nowrap to get msgid "ddgfdgdgdgf" msgstr "cgfdgdfg" instead of msgid "" "ddgfdgdgdgf" "dgdgf" msgstr "" "cgfdg" "dfg" then just delete lines that match ^msgstr.* using kate, gawk or the like