The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
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!
It is built into the plugin. you just need to configure it.
I have read through that page you posted a few times and I think I have it working now.
But do you have any idea what the links should be on the menu to keep the following pages in the current language?
I don’t have a clue, but on the page that I linked to is another link to the plugin’s FAQ page and also a forum dedicated specifically to that plugin. That is where I would look for answers.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed