#13450: Can django's i18n internationalization middleware offer language selection by URL? ----------------------------------------------------------+----------------- Reporter: benoitcsirois | Owner: nobody Status: new | Milestone: Component: Internationalization | Version: 1.1 Keywords: i18n internationalization seo languages urls | Stage: Unreviewed Has_patch: 0 | ----------------------------------------------------------+----------------- Django's current internationalization framework allows only the project's default language to be indexed by search engines, because a single URL is only indexed in one language in the search engine.
Would it be possible to implement a www.example.com/LANG/app type of URL handling in django's internationalization framework? I have been using something similar, which someone published (forget where I found it, see attached file for middleware), but it breaks django's reverse url lookup, unless I specify urls with a (?P<lang>(\w\w)) at the beginning... thus resulting in a useless "lang" parameter passed-on to views. Can a simpler, more integrated solution be implemented? -- Ticket URL: <http://code.djangoproject.com/ticket/13450> 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-upda...@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.