Modified format.py. Add support for makemessages.

Please patch trans_real.patch to your django module, which is located
at django/utils/translation/trans_real.py.
After patching, you can get add entry for transformat with makemessage.