is it possible to have localization available without translation?
I've tried to figure this out without much success. What I did was
removing the default LANGUAGE_CODE so that Django has to check
HTTP_ACCEPT_LANGUAGE header. After that I set USE_I18N = False in my
settings and leave USE_L10N = True and I added
django.middleware.locale.LocaleMiddleware to MIDDLEWARE_CLASSES right
after the SessionMiddleware.
I only want to use localized datetime fields in the admin interface,
no translation required or wished at all.
Thanks for your help.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment