I have to translate or redirect the URL request content in my web application.
i.e if the request was…
http://localhost/update/homepage.aspx?lang=de
then, i have to automatically translate it to a more specific language locale.
http://localhost/update/homepage.aspx?lang=de-DE
My question is how do i achieve the same ? Should i use any client javascripts which does the job of conversion from “de” to “de-DE” ?
Or is there any better solution
Thanks
On the
Page_Loadof your page you can check for thisMay be this could help, without implementing any Routing in your application.