#15168: feature request - New setting ------------------------------------------------+--------------------------- Reporter: zay2 | Owner: nobody Status: reopened | Milestone: 1.3 Component: Internationalization | Version: SVN Resolution: | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | ------------------------------------------------+---------------------------
Comment (by bpeschier): I think the behaviour you are after is really specific and should not be included; you are basically saying "I want to ignore this 1 language when it is not set in a cookie". Removing Accept-Language headers would mean first time visitors which have set it to Russian for example would get Estonian, which is probably also not ideal. In your case I would extend the !LocaleMiddleware to mirror that; check the HTTP_ACCEPT_LANGUAGE in META before handing it to the !LocaleMiddleware-superclass and rewrite English to Estonian (META is mutable iirc). -- Ticket URL: <http://code.djangoproject.com/ticket/15168#comment:4> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.