Hi all, I have this question and I may use the wrong language. So i am sorry about that. Basically, I have this website which I am building a mod to show in English and AnotherLanguage. There will be a button to change the language. When visitors click the button, it will refresh the page and change the language.
The implementation method I tried to follow was: create that new button and add a parameter in the link such as lang=en or lang=other. However, the page could have many other parameters. The questions are:
- How to get all the parameters in the current page?
- If exist lang=xxx, how to get the value and remove it from the current page?
The purpose is to add <A href="www.website.com/index.php?para1=xxx¶2=yyy&lang=en>Language Button</A> in the new page as the hack!
Please let me know how to do this.
Otherwise, I am open to other alternatives.
Thanks again!!