On Sat, Feb 5, 2011 at 22:38, Simon W <simw...@gmail.com> wrote:
> Hey,
> I have a datetime field in my models. When I format the date into letters it
> appears in english and I'd like it in another langue. How to?

Have you turned on i18n/L10n in your settings?
http://docs.djangoproject.com/en/dev/topics/i18n/deployment/
http://docs.djangoproject.com/en/dev/topics/i18n/

Have you told your templates to load i18n?
http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/#specifying-translation-strings-in-template-code

Have you set the field in question on the template to be translate-able?
http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/#specifying-translation-strings-in-template-code

Hope this helps

cheers
L.

> Thank you!
> // Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Crunchiness is the gustatory sensation of muffled grinding of a
foodstuff. Crunchiness differs from crispiness in that a crispy item
is quickly atomized, while a crunchy one offers sustained, granular
resistance to jaw action. While crispiness is difficult to maintain,
crunchiness is difficult to overcome.
from The Best of Wikipedia http://bestofwikipedia.tumblr.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to