compile message catalog to binary format using Babel
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
c2c
.gitignore
LICENSE.txt
README
setup.py

README

=================
c2c.recipe.msgfmt
=================

A buildout recipe to compile message catalog to binary format (.po to .mo).

Requirements
------------

 * `Babel <http://babel.edgewall.org/>`_

Usage
-----
Minimal buildout config example::

    [buildout]
    parts = po2mo

    [po2mo]
    recipe = c2c.recipe.msgfmt
    po-directory = foo/bar/i18n/
    followlinks = false

The .mo files are created in the same directory as the .po files.