Thanks for your reply! i got the language files now. But the problem is now the language widget is displaying. When i click that link it’s redirecting to the home page. If i’m in the single post page and clicks the arabic language flag then it’s redirecting me to the home page! Whats the problem in the settings? I’m using the WPML plugin. Could you please explain me the problem??
Hi
I’m not positive but I think that is how it is intended to work. I think the language switcher is to switch between languages, starting at each language’s home page, not to bring up a different language version of the one post you are looking at.
I am new to WPML myself. I have been working on one multi-language site so I’ve learned a bit. I believe I saw in the documentation there is some PHP code you can add to your page and post templates, to display below the post, that shows a list of the other languages a post is available in. That I think is how you switch between languages on a single post.
Its possible you don’t have to paste in code ,you just have to change a setting. I don’t remember for certain, although I do seem to remember seeing some code somewhere that you paste in. Read through the WPML documentation. Its in there somewhere.
Thanks for the reply. If you have a link regarding the multilingual please post here. So i can get benefit.
The WPML documentation is here http://wpml.org/documentation/
I find I have to read through a lot to find what I am looking for. I can’t tell you much more than I already have because I am just learning about the plugin myself.
Here is the link to the section about the code you add to your templates to display the list of languages the post is also available in:
http://wpml.org/documentation/getting-started-guide/language-setup/custom-language-switcher/#also_available