In the documentation for *LanguageCookieMiddleware* is said that:

When visiting a page that is only English and French with a German browser, 
> the language from LANGUAGE_CODE will be used. If this is English, but the 
> visitor only speaks French, the visitor will have to switch the language. 
> Visiting the same page now again after some time, will show it in English 
> again, because the browser session which was used to store the language 
> selection doesn’t exist any more. To prevent this issue, a middleware 
> exists which stores the language selection in a cookie.


But if the site is not multilingual or site authors implement their own 
custom solution for determining the right language for the user when 
visiting home page (for example IP location) or whatever reason extra 
cookie is not desired then this middleware is not needed and will be 
removed from *MIDDLEWARE_CLASSES*.

Is there a real need to show ERROR instead of warning for example when 
*LanguageCookieMiddleware* is not enabled when executing *manage.py cms 
check*?

-- 
Message URL: 
https://groups.google.com/d/msg/django-cms-developers/topic-id/message-id
Unsubscribe: send a message to 
django-cms-developers+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"django CMS developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-cms-developers+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-cms-developers/6d450712-d0d0-425d-857a-bbad023a8fbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to