Documentation
says, that:
...it looks for a django_language key in
the current
user’s session
This
is the latest commit if 1.4x branch of Django, but I can't
even find word "session" in code with middleware. And It not working
for me - I use it in combination with
set_language view,
and I checked it by debugger - while
set_language switches
language to needed one and puts it to
"django_language" key,
LocaleMiddleware ignores it. I'm not using 18n url
patterns.
I also have tried to use prefixes, but in that case, by
POST
request,
set_language
uses
next parameter to redirect user, which is might
be "/en/", and even if language switches correctly to another one,
response
always will always be redirect to url with same
language prefix as before - "/en/", so user will not see any effect.
Am I missing something?
--
С наилучшими пожеланиями, Андрей Пашкин.
м.т - +7 (985) 898 57 59
Skype - waves_in_fluids
e-mail - andrew....@gmx.co.uk