Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Recipe for manipulating gettext message catalogs.

Project Description

cc.gettext provides recipe[s] for manipulating gettext message catalogs.

Compiling gettext catalogs

The cc.gettext:msgfmt recipe can be used to compile gettext catalogs from the .po source format to the binary .mo representation needed by Zope 3. It supports two options:

po_path
A file path (relative to the buildout base or absolute) which is scanned recursively for .po files. All .po files found are processed by the recipe.
mo_path

The base file path (relative to the buildout base or absolute) where compiled .mo files are written. Compiled files are named using the pattern <mo_path>/<locale>/LC_MESSAGES/<domain>.mo

If the specified path does not exist, the recipe will attempt to create it.

0.6.1

  • Fixed bug lying in wait (mis-named multiple assignment)
  • Fixed handling of PO files with leading whitespace.

0.6

  • Use python-gettext instead of forking a process to run msgfmt.

0.5.1

  • Attempt to create the mo_path if it does not exist.

0.5

  • Initial public release.
Release History

Release History

This version
History Node

0.7

History Node

0.6.1

History Node

0.6

History Node

0.5.1

History Node

0.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cc.gettext-0.7-py2.5.egg (5.2 kB) Copy SHA256 Checksum SHA256 2.5 Egg Dec 3, 2007
cc.gettext-0.7.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Dec 3, 2007

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting