django multi-language (i18n) and seo
- by fumer
hi,
I am developing a multi-language site in django.
In order to improve SEO, i will give every language version a unique URL like below,
english: www.foo.com/en/index.html
french: www.foo.com/fr/index.html
chinese: www.foo.com/zh/index.html
However,
Django looks for a "django_language" key in user's session or cookie to determine language in default,
so,Despite which language user chose,
URL is always the same. for instance: http://www.foo.com/index.html
how to resolve this problem ? thank you!