- A proper and simple Django caching middleware that's opt in -
- Django's cache_page decorator is fatally limited -
- Find mistakes in Django i18n templates - I frequently make mistakes when i18n-ing a django website, making loads of little syntax errors, Here's a script to find some of these little mistakes
- Lint tool to find non-i18n strings in a django template - Finds text in a Django template that has not been passed through 'trans' or 'blocktrans'. If you are tying to internationalize a django template, this linter is invaluable to make sure you don't miss any bits.
- Manually activating a language to translate to in Django - Temporarily switch the language that django's translation framework uses to a manually choosen one
- Mocking gettext with Django Translations to test that your code is translating - I wanted to test that a function was translating text, however I had no translations done. Django would fall back to english, so I had no way to know if it was translating or not. By hacking the django objects, I was able to mock a translation.
- Pylint plugin to find non-i18n/gettext strings - This is a plugin for pylint, the python static code analyzer (lint) that finds strings that are not passed through _/gettext. Use this checker to find strings which you have forgotten to translate
- Refresh a Django object from the database -
- Simple Django Debugger decorator -
- i18n django middleware to check for ugettext_lazy strings in byte strings - If you put a ugettext_lazy call into a byte string (as opposed to a unicode string), you get a
string instead.