Skip to main content

Monkeypatch django do-translation

Project description

Small utility app for monkeypatching Django do_translate functions. It enables you to easily mark translations by wrapping them in curly braces, or do more funky stuff like override how static translations are handled completely.


Install into your python environment of choice using pip from the parent folder:

pip install django-monkeytranslate


In your settings file include:


And if you want to define the callable:

Take a look at monkeytranslate.utils for an example of a callable to
monkeypatch django.utils.translation.trans_real.do_translate

Project details

Download files

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

Files for django-monkeytranslate, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django-monkeytranslate-0.1.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page