I found an interesting way to handle locales in admin's date_hierarchy
feature. When day_lookup (GET-parameter 'variable'__day) is part of the
request, the response uses django.utils.dates.MONTH in month's name,
which uses gettext to translate month names, but other requests uses
Python's strftime -function. This forces me to use Python's
locale.setlocale in settings, so I can get month names in my own
language. Is there some good reason to not use Python's locale module
in Django or why this is not used in Django as default?

Reply via email to