Skip to main content

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.

Download

Download files

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

Source Distribution

cc.gettext-0.7.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cc.gettext-0.7-py2.5.egg (5.2 kB view details)

Uploaded Egg

File details

Details for the file cc.gettext-0.7.tar.gz.

File metadata

  • Download URL: cc.gettext-0.7.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cc.gettext-0.7.tar.gz
Algorithm Hash digest
SHA256 1ff041b4c5c7c1271e2c2553b4f26b20fcf9d1125c6dfb23e0fc43df01762fa1
MD5 bc0603584a81fa0bc2629b35a84e15aa
BLAKE2b-256 ef6497ee29932c7e27550ef823b7412697f15f2cd0b8844c91aaed77fb9cda43

See more details on using hashes here.

File details

Details for the file cc.gettext-0.7-py2.5.egg.

File metadata

  • Download URL: cc.gettext-0.7-py2.5.egg
  • Upload date:
  • Size: 5.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cc.gettext-0.7-py2.5.egg
Algorithm Hash digest
SHA256 a1cc2688d79520cf2c27fc873ef8a1e8ff141edb80234df52c129bcda5aa6e30
MD5 eb036ab6ff7d37582e2e64e8f305decd
BLAKE2b-256 493a623c8365daf42d6df2e03e3ab8a08c72da08fd655f384dc5a2bec53aacd1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7 This release

2 files

0.6.1

2 files

0.6

2 files

0.5.1

1 file

0.5

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page