localization - Browser's language and javascript
-
hello fellows, I'm facing a problem with localization. You know each time the browser create a request, it will send its language (en, en_us, ..etc) with the it where the web application can determine the language of the client and send the proper response. Now, what i want is to play around with this option on the client-side not from the server-side. And I want the language option to be displayed as a choice as a select-box on login page. My first option (as i think) is to modify the browser's language using javascript when the user select (event) a choice from the select-box. My second option is to override the value of the header "accept-language" using javascript also. Until now I couldn't know it those two options are possible or there's any other choices. I really appreciate it if you can help :) Regards, Faris Madi Nothing Comes Easy (N.C.E.)