Hello everyone,
I've been playing with Django's i18n system and it seems to be mostly working. However, dates in model code seem to be causing a problem.
I use datetime.strftime to populate a few CHOICES tuples which are then used in forms.
From what I understood, django will set the locale to the user's choice so that datetime.strftime() will output in the appropriate language, but this doesn't seem to happen.
What am I missing here?
If I set the locale manually (eg. locale.setlocale(locale.LC_TIME,'de_DE.UTF-8') ) datetime does translate correctly.
Thanks,
Tom