babel-obviel

Software Screenshot:
babel-obviel
Software Details:
Version: 0.7
Upload Date: 20 Feb 15
Developer: Obviel Developers
Distribution Type: Freeware
Downloads: 6

Rating: 3.3/5 (Total Votes: 3)

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 >

What is new in this release:

  • Normalize internal whitespace too for HTML. But for attributes, don't normalize any whitespace.

What is new in version 0.6:

  • Support extracting translation markers from a script tag in HTML, using the html_obvt extractor.

Requirements:

  • Python

Similar Software

hypua2jamo
hypua2jamo

20 Feb 15

wbmtranslator
wbmtranslator

20 Feb 15

gtranslator
gtranslator

14 Apr 15

GOB
GOB

17 Feb 15

Comments to babel-obviel

Comments not found
Add Comment
Turn on images!