This hook enables a Django project to use Pontoon for translation.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example/demo_project
pontoon_hook
.gitignore
LICENSE
README.md
__init__.py
requirements.txt
setup.py

README.md

django-pontoon-hook

This hook enables a Django website to use Pontoon as a live localization tool.

Installation

pip install -e git+git://github.com/rtnpro/django-pontoon-hook.git@master#egg=django_pontoon_hook

Usage

  1. Add 'pontoon_hook' to your settings.INSTALLED_APPS.
  2. Add 'pontoon_hook.middleware.PontoonMiddleware' to your settings.MIDDLEWARE_CLASSES preferably as the last item or as later as possible.

TODO

  • Write unittests

License

This software is licensed under the New BSD License. For more information, read the file LICENSE.