#11585: i18n in urls.py
-------------------------------------+-------------------------------------
               Reporter:  digi604    |          Owner:  jezdez
                   Type:  New        |         Status:  closed
  feature                            |      Component:
              Milestone:  1.4        |  Internationalization
                Version:  SVN        |       Severity:  Normal
             Resolution:  fixed      |       Keywords:
           Triage Stage:  Accepted   |      Has patch:  1
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by jakub):

 Thanks for this new feature.

 Are there any plans to include also an i18n-aware version of the `{% url
 %}`  template tag? I know that it will work fine for the current language,
 but when one needs a URL of a page in another language, then the existing
 tag doesn't help. It would be great if there was also an option to get a
 URL of the current page in another language without having to specify it
 or its name as well. I'm aware of `django.views.i18n.set_language()` but a
 link is often needed for search engines to be able to discover the page.

 This is a general problem applying also to `reverse()` but there I suppose
 you can work it around by activating another language, reversing the URL
 and then switching back.


 I'm willing to provide a patch for the template tag  if there is any
 chance for it being included in the core.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11585#comment:15>
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 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.

Reply via email to