#25013: Using prefixes for language, the html template code example to switch
languages does not work for me.
-------------------------------+--------------------
     Reporter:  wimfeijen      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 When using i18n_patterns, a prefix is placed for a language. In my
 example, I am using 'nl/' and 'en/'.

 This does not work well with the example html template code example given
 https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#module-
 django.conf.urls.i18n

 after changing the language from Dutch to English, I am being redirected
 to the English page again.

 I believe it is the same problem as described here:
 http://stackoverflow.com/questions/25548926/change-language-and-its-url-
 in-django

 Easier for us now seems to use jquery to modify the url in order to switch
 languages.

 It might be that I am doing something wrong. I am quite capable of doing
 that. Cheers!

--
Ticket URL: <https://code.djangoproject.com/ticket/25013>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.0eac07021cde15c62f9b5340d935ae71%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to