Wow, this is exactly what I'm looking for. I'm gonna try this app soon. Thanks!
--Tirta -----Original Message----- From: Malcolm Tredinnick <malc...@pointy-stick.com> Date: Mon, 22 Dec 2008 15:26:42 To: <django-users@googlegroups.com> Subject: Re: Language code prefix in url On Sun, 2008-12-21 at 19:52 -0800, Tirta K. Untario wrote: > Hi all, I'm new to Django, and trying to port my old site to Django for > practice purpose. > > Different from Django multilingual implementation by using cookie, I want to > add lang code to every url, i.e: > > /en/my_app/something_here/1/2/3/4/ > /de/my_app/something_here/1/2/3/4/ > /fr/my_app/something_here/1/2/3/4/ > > The main reason I do this if for Google to index more pages from my site. I > don't want Google to index just the English version (default language), but I > think that what will happen if I use cookies. > > I hope this approcae can be integrated with pre-existing Django apps without > much hassles. I currently in fond of flatpages :) > > Do anyone have any idea on how to do this? TIA. Joost Cassee's localeurl project (http://code.google.com/p/django-localeurl/ ) is one approach to this problem that seems fairly well thought out. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---