Skip to main content

Obviel Template message extractor for Babel

Project description

babel-obviel

Babel Obviel integrates Obviel with the Babel i18n tools. You can then use the Babel extraction system to extract message ids from Obviel Template (.obvt) files. Babel Obviel knows about Obviel Template’s rules for message id generation so should generate message ids that work with Obviel Template’s i18n system.

You can configure Babel for .js and .obvt files with a mapping config file as follows:

[javascript: **.js]
extract_messages = _

[obvt: **.obvt]

If you named this config file mapping.cfg, you can run babel with this config file like this:

$ bin/pybabel extract -F mapping.cfg <some_directory>

CHANGES

0.5.2 (2012-06-06)

  • Now the release should be REALLY installable; add MANIFEST.in.

0.5.1 (2012-06-06)

  • Actually make it installable (missing doc/README.txt).

0.5 (2012-05-31)

Initial public release.

Project details


Download files

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

Source Distribution

babel-obviel-0.5.2.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file babel-obviel-0.5.2.tar.gz.

File metadata

File hashes

Hashes for babel-obviel-0.5.2.tar.gz
Algorithm Hash digest
SHA256 fec51ff15e051c4b1547db8c63dc0de3e7c6064d7e073235a3adca689127d715
MD5 f26b017e66939c1d1ae9fe7787d6c60c
BLAKE2b-256 ac12e37c8d3b45d28ffa57b0d7dde04ceae42c91cd54299e2ec1ffa76cf5ba04

See more details on using hashes here.

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