Wrong redirection url
The "Location:" set by LocaleURLMiddleware.process_request does not honor the script_prefix.
For example, if my django project is available under:
for the english language it's been redirected to:
I think the problem is related to the use of utils.locale_path() instead of utils.locale_url() while creating the redirection url. I'll attach a patch that does this and that Works For Me(tm).