Skip to main content

A library to manipulate gettext files (po and mo files).

Project description

polib provides a simple and pythonic API to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through it’s entries, add, modify entries, comments or metadata, etc… or create new files from scratch.

What’s new in version 0.4.1:
  • fixed issue #0006: plural msgstrs were saved unsorted,

  • fixed issue #0008: long comment lines broke ‘save()’ method,

  • removed performance shortcuts: they were in fact inefficient,

  • fixed issue #0010: wrong polib version number,

  • fixed issue #0011: occurrences parsing is now more robust and can handle weird references formats (like in eToys OLPC po files),

  • fixed issue #0012: improved merge() method.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page