Specify different language for URL translation

I am using language translation in my project.But it only translate the strings if I set the highest priority to respective language in my browser.


If i am using two language en and es For translation then it will display data in spanish if I have set spanish as my default language.My translation is working because it only displayed that in spanish which i have specified in my Django.po file.

So What i want is if i specify the language in url as www.asd.com/?lang=es then it must display the data in spanish.

So please suggest me what i have to do for that.

anonymous user
asked 2012-10-18 01:05:31 -0500
todofixthis's avatar
updated 2012-10-18 08:31:39 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments