cc.gettext 0.7
Recipe for manipulating gettext message catalogs.
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.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| cc.gettext-0.7.tar.gz (md5) | Source | 3KB | 269 | ||
| cc.gettext-0.7-py2.5.egg (md5) | Python Egg | 2.5 | 5KB | 369 | |
- Author: Nathan R. Yergler <nathan at creativecommons org>
- Home Page: http://python.org/pypi/cc.gettext/
- Keywords: development build gettext
- License: ZPL 2.1
- Categories
- Package Index Owner: nathan
- DOAP record: cc.gettext-0.7.xml
Log in to rate this package.
