Set language code inside a view in django

Posted by origon on Stack Overflow See other posts from Stack Overflow or by origon
Published on 2010-05-03T19:53:07Z Indexed on 2010/05/03 19:58 UTC
Read the original article Hit count: 147

Filed under:
|

Im wonder how to set the language code inside a view (in django). Im sending a HttpResponse that contains a python-date.strftime("%A") %A = The day (ex: Monday). But I want to get the day in swedish instead of english.

© Stack Overflow or respective owner

Related posts about django

Related posts about python