Ask Your Question
0

Specify different language for URL translation

asked 2012-10-18 01:05:31 -0500

Neeraj gravatar image Neeraj
1 1 1

updated 2012-10-18 08:31:39 -0500

todofixthis gravatar image todofixthis flag of Chile
1092 17 18 37
http://www.fiveyearsabroa...

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.

e.g.

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.

delete close flag offensive retag edit

Be the first one to answer this question!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-10-18 01:05:31 -0500

Seen: 60 times

Last updated: Oct 18 '12