I am setting up a Satchmo site, and I believe I have done everything
according to the documentation, using clonesatchmo. So now I am trying
to make it multi language.

I did everything in http://www.satchmoproject.com/docs/dev/translation.html.

When choosing e.g. 'Deutsch' and clicking Change, I get this error
message:

KeyError at /i18n/setlang/
'django_language'

The last line of the traceback is:
   return self._session[key]
coming from /home/wsc2/lib/Django-1.2.5/django/contrib/sessions/
backends/base.py in __getitem__ line 46.

Any ideas about what is wrong? I suspect that it could be something
with the middleware, maybe the order. But my attempts of changing the
order has been unfruitful so far. Now it looks like:

MIDDLEWARE_CLASSES = (
    "django.middleware.common.CommonMiddleware",
    "django.contrib.sessions.middleware.SessionMiddleware",
    "django.middleware.csrf.CsrfViewMiddleware",
    "django.middleware.locale.LocaleMiddleware",
    "django.contrib.auth.middleware.AuthenticationMiddleware",
    "django.middleware.doc.XViewMiddleware",
    "django.contrib.messages.middleware.MessageMiddleware",
    "threaded_multihost.middleware.ThreadLocalMiddleware",
    "satchmo_store.shop.SSLMiddleware.SSLRedirect",
)

I'm using Djagno 1.2.5 and Satchmo 0.9.2.

Lucy


-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to