I am using WordPress with the qTranslate plugin.
And I can’t see anyway of switching the languages other than the url, so I need a way of adding something to the URL with the use of flags.
So for example, if the url is: http://www.mydomain.com/index.php
I need to change it to: http://www.mydomain.com/index.php?lang=en
However if it already has a query, for example: http://www.mydomain.com/index.php?p=1
I need to append my query to make it: http://www.mydomain.com/index.php?p=1&lang=es
How do I do this?
I would also like to make it so that the user doesn’t have to always switch from language to language, so if they choose russian, the next page will also be in russian.
Is this a good solution or is there a better way? Thanks for any help you can give!