#29425: Auto language redirect does not work if prefix_default_language=False in
root URLConf
------------------------------------------------+------------------------
               Reporter:  Nathan Humphreys      |          Owner:  nobody
                   Type:  Uncategorized         |         Status:  new
              Component:  Internationalization  |        Version:  1.11
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 When the prefix_default_language is set to False in the root URL Conf,
 django does not redirect a user based on the Accept-Language header, it
 always displays the default language.

 This means that if I want to show the default language without a language
 URL prefix I cannot do the automatic redirect if a user accept-language
 header matches another language.  But if i want the automatic redirect, I
 have to show the default language prefix.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29425>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.7667d7c0013d8c5a0d480707da5a8725%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to