Thanks yml. The middleware part interests me a lot but I don't understand how the code work in your post. Do you use Django's LocaleMiddleware ? Where do you add the language_code in the url ? Finally, does it work with search engine indexing ? Because you still need to change language with a link, don't you ?
My concern is really practical, I already have a site (http:// www.spiderchallenge.com) that is localized both in english and french but google has only index the english content. Thanks again, Olivier On 23 juin, 03:39, yml <yann.ma...@gmail.com> wrote: > This is the motivation for me to write this piece of middleware > :http://yml-blog.blogspot.com/search/label/Internationalisation > --yml > > On Jun 22, 5:52 pm, Olivier <o.mic...@gmail.com> wrote: > > > > > Hello everyone, > > > I'm currently using django localization on my site to manage both > > english and french. I'm using template tags blocktrans and block but > > both the french & english pages have the same url. I'm wondering if > > the search engines can work with this configuration and index the two > > versions or should I use different url ? > > > I first tried to find if the question was already solved in a > > different topic but I didn't see it, sorry if I'm wrong. > >l > > Thanks in advance, > > > Olivier --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---