polib is a library to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through its entries, add, modify entries, comments or metadata, etc... or create new po files from scratch.WWW: https://pypi.python.org/pypi/polib