babel-obviel 0.7

Obviel Template message extractor for Babel

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in babel-obviel 0.7:

  • Normalize internal whitespace too for HTML. But for attributes, don't normalize any whitespace.
Read full changelog
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Obviel Developers
HOMEPAGE:
pypi.python.org
CATEGORY:
ROOT \ Programming \ Internationalization
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 >

Last updated on June 28th, 2012

requirements

#Obviel template #message extractor #Obviel #template #message #extractor

Add your review!

SUBMIT