Adding A Language Switcher
Navigate to /admin/build/block and add the language switcher to any sidebar.

We place the language switcher in the left sidebar.

Visitors now see the language switcher, which allows them to choose their display language.
Note: we're also going to talk about adding country flags to the language switcher.

Comentarios
block visibility
Please disregard my inane last comment. I figured it out. Sorry
remove from certain pages.
Hi,
My website is pretty much entirely translated. However, I cannot seem to get the catalog translated perfectly. If someone goes to the english catalog and tries to switch languages it will go to a wrong (empty) french catalog (and vice versa). I have tried to work around this with no luck. So, I would like to dismantle the option to change languages at this certain point. However, I have tried to turn the visibility off for the block and it doesn't seem to work. Is there something I am missing? I have used both the english and the french links to enable the invisibility of this block and yet it will not work.
Thanks
Problem with the language switcher
Hi, I have site with 2 language, without English (English is turned off), but language switcher shows English link too - link to '/en/translation_not_found'. How to fix it?
Thanx for all
hi ;
tanks , really tanks for your guidance in translation site , its very useful , i study all of topics in your site & now my site is a multilingual .
good luck
Language switcher does not always appear
In case the language switcher does not appear, you can try the following:
Enable at least 2 languages, and then edit language negotiation.
You can find this at Home » Administer » Site configuration » Languages » Configure
Choose "Path prefix with language fallback"
Cheers
Frank
thanks a lot frank, it worked
thanks a lot frank, it worked for me and i was seaching this answer for a long time :)
How to prevent incorrect node translation link in lang switcher?
Hi, I am wondering how you deal with the following problem with the language switcher.
Suppose you have a website with English (default) and Spanish. Both languages configured with language prefix, language negotiation is with prefix with fallback. You add a page:
example.com/en/welcome (node/1), and translate it:
example.com/es/bienvenido (node/2).
If you're at the 'welcome' page, and click the language switcher for Spanish, you'll go to example.com/es/bienvenido, great.
Now you publish a story, say example.com/en/some-story-title(node/3), but there is no translation. Now when you click 'Spanish' from there, it will take you to example.com/es/node/3, even though this is an English story.
example.com/es/node/3 Should not exist, and now you have duplicate content...
So how do you stop the language switcher block from linking to this inconsistent url?
Translation404
You can workaround this problem by using the translation404 module.
Did you receive an answer?
Hi there,
I think this is an important question - have you received an answer on this?
Cheers