On Mon, Jul 26, 2010 at 11:16, Martin Tiršel <django@blackpage.eu> wrote:
* userproject/settings.py:
LANGUAGE_CODE = 'sk'
LANGUAGES = (
('en', 'English'),
('sk', 'Slovensky'),
)
USE_I18N = True
USE_L10N = True
Gah, my eyes were closed.
Have you also added the appropriate Middleware product?
As you see here: http://docs.djangoproject.com/en/dev/topics/i18n/deployment/#topics-i18n-deployment you need to have soemthing like the following:
MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', )
cheers
L.
Lachlan Simpson
Technology Manager
Translation and Interpreting Studies
Monash University, Clayton
Victoria 3800
+61 3 9905 4221
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