The Transifex Open Formats library
OpenFormats is a localization file format library, written in Python.
OpenFormats’ primary use is to work as a file format backend to Transifex.
Check out OpenFormats documentation for more information.
You can run tests for the formats by doing the following:
python setup.py test
The source code for OpenFormats is hosted on GitHub.
To run the testbed:
./manage.py syncdb --noinput # optional ./manage.py runserver
Then point your browser to http://localhost:8000/.
The syncdb step is optional and is used if you wish to save certain tests by their URL The tests are saved to an sqlite database. This is most likely to be useful in the live version of the testbed.
Having fired up the testbed, you can select a format handler, paste some text and try to parse it. The testbed will show you the stringset that was extracted from the source text and the template in kept from it. Then, you can try compiling the template against the stringset, or you can modify it first.