Msghack can be used to alter gettext .po files in ways no sane mind would think about. It is a reimplementation of the original msghack in Python.