I have a simple .htm web page kept in different folders for handling different languages.
default.htm inside en folder (en\default.htm and de\default.htm and so on)
I need to redirect to a specific web page based on the URL parameter i.e. if the user had
specified http://localhost/website/default.htm?lang=de
, i need to redirect him to the
de\default.htm file. i.e. a german web page.
had it been the ASPX pages i would have done away with the job easily with ResourceManager
and an appropriate .resx file using the Request.QueryString option provided by .NET
BCL. However since i'm using plain HTML page i do not have an expertise to write a client
side script like javascript to query for the URL parameters and redirect the user to the
required page.
Question :
Can anyone guide me how do i achieve the same using any form of client scripting to
achieve the redirection ?? And where do i invoke the script function ?
i.e query the parameter for each post event.??
Thanks a ton