Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I can confirm that I am having the same problem, as is the user in this report http://drupal.org/node/230366. Using Garland theme, tried putting into various regions. None worked.
This report (or at least my confirmation of it) are only intended for the 6.x version. My understanding is that i18n is no longer needed and I do not have it installed.
I untarred the French translation package into my drupal root directory and everything went where it was supposed to. Then I enabled Locale and added the French language. I then enabled the Language Switcher expecting that I could switch between languages for further testing. It did not appear.
Perhaps I have misunderstood how multi-language support works in Drupal 6? Perhaps I have simply reported the problem in the wrong place.
I have just came across this and I am suffering the same.
Now I finally managed to get the language switch to appear after choosing "Path prefix with language fallback" but what I still need to find out is:
- Remove the language switch from inside the node
- when I am navigating say in English and I switch the language to French... if I go to another page it is back to English again!!
There seems to be some confusion around the language switcher and when it displays links and when not.
I have sites where it only displays links when translations are available (in case the user is viewing a node) but for newer pages I can't get it to work that way. So here people are complaining that only links to available translations are showing up - that is what I want.
I have tried with i18n and without - no change.
What's the current situation?
Was this behaivior changed?
Where/how can it be changed?
I'm also confused about this. I have two languages (English and French) installed, and language negotiation set to "Path prefix with language fallback". I enable the Language switcher block, but no matter where I put it or what else I try, it doesn't appear.
I haven't translated any content yet, but aren't I supposed to be able to view the site interface in any of my installed languages?
Hm, maybe some kind of cache problem. In my case, I got the Language switcher block to appear by deleting and then adding again my 2nd language. So the problem is solved for me.
Deleting and (while having 'Language negotiation' configured to value 'Path prefix with language fallback.') adding the 2nd language made the language block appear.
@'Andrew Schulman': thx!
From what I can tell, the issue isn't really an issue, and the other issues that are beng reported here, are already (or should be) reported in their own issues. So I guess I'm closing this one.
You need to go "admin/structure/block" and enable the "language switcher" block, please note that you need to enable the URL or Session language detection methods at "admin/config/regional/language/configure" to make the block appear.
Just a quick one for anyone who, like me, has just wasted a morning trying to discover why the language switcher block isn't displaying - make sure you haven't overridden theme_links in your template.php. That broke it for me.
Can anyone tell me why I translated a menu item and a node and after hitting the switch, the new translated interface is shown but the nodes or the menus are just duplicated, they are not chosen depending of the language you choose.
Also want to confirm #12 works. in Drupal 7.52, in the interface had to go to
Configuration -> Regional and Language -> Languages
-Next click on the "Detection and Selection" Tab
-Next check enable to the right of Detection Method "URL"
-Save
-Click "Configure" on the right of the "Detection Method "URL"
-Click the radio button "Path prefix"
-click "Save Configuration"
Comments
Comment #1
dunlop commentedI can confirm that I am having the same problem, as is the user in this report http://drupal.org/node/230366. Using Garland theme, tried putting into various regions. None worked.
Comment #2
jose reyero commentedSo it was showing before enabling i18n?
Not showing for any page? node pages?... ?
Comment #3
dunlop commentedThis report (or at least my confirmation of it) are only intended for the 6.x version. My understanding is that i18n is no longer needed and I do not have it installed.
I untarred the French translation package into my drupal root directory and everything went where it was supposed to. Then I enabled Locale and added the French language. I then enabled the Language Switcher expecting that I could switch between languages for further testing. It did not appear.
Perhaps I have misunderstood how multi-language support works in Drupal 6? Perhaps I have simply reported the problem in the wrong place.
Comment #4
dunlop commentedComment #5
jose reyero commentedSo, gentlemen, if this is not happening with i18n, this is definitely an issue for Drupal 6 core.
AFAIK, when you're seeing a node, only links for existing translations will show up. File a feature request if you think it should be otherwise.
Comment #6
phicarre commentedAnd how to have ONLY the language switcher block (no switch in the nodes) ?
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
malesandro commentedBesides enabling the language switcher, you have to edit the language negotiation. If it is set to none, then you'll have no switcher.
Comment #9
phicarre commentedBut WE WANT a switcher ! and we don't want (e.g disable) to choose the language into the nodes
Comment #10
bertboerman commentedHi Malesandro,
How do you edit the language negotiation?
Comment #11
bertboerman commentedShould investigate before I make questions. You indeed need to first enable at least 2 languages, and then edit the Language negotiation.
The negotiation can be found at Home » Administer » Site configuration » Languages » Configure
I chose "Path prefix with language fallback", and it worked. Thanks Malesandro.
Comment #12
liture commentedHello All,
I have just came across this and I am suffering the same.
Now I finally managed to get the language switch to appear after choosing "Path prefix with language fallback" but what I still need to find out is:
- Remove the language switch from inside the node
- when I am navigating say in English and I switch the language to French... if I go to another page it is back to English again!!
Regards
Comment #13
GRboss commentedYou saved me!!!!!!!!!!!!!!
Comment #14
invisible_swordsman commentedThanks too Malesandro.
I also did as you said, and now it is working...
Comment #15
s.daniel commentedThere seems to be some confusion around the language switcher and when it displays links and when not.
I have sites where it only displays links when translations are available (in case the user is viewing a node) but for newer pages I can't get it to work that way. So here people are complaining that only links to available translations are showing up - that is what I want.
I have tried with i18n and without - no change.
What's the current situation?
Was this behaivior changed?
Where/how can it be changed?
Comment #16
s.daniel commentedSimilar issue: http://drupal.org/node/363125
Comment #17
Andrew Schulman commentedI'm also confused about this. I have two languages (English and French) installed, and language negotiation set to "Path prefix with language fallback". I enable the Language switcher block, but no matter where I put it or what else I try, it doesn't appear.
I haven't translated any content yet, but aren't I supposed to be able to view the site interface in any of my installed languages?
This is with Drupal 6.14.
Thanks,
Andrew.
Comment #18
Andrew Schulman commentedHm, maybe some kind of cache problem. In my case, I got the Language switcher block to appear by deleting and then adding again my 2nd language. So the problem is solved for me.
Comment #19
not_Dries_Buytaert commentedDeleting and (while having 'Language negotiation' configured to value 'Path prefix with language fallback.') adding the 2nd language made the language block appear.
@'Andrew Schulman': thx!
Comment #20
Freso commentedFrom what I can tell, the issue isn't really an issue, and the other issues that are beng reported here, are already (or should be) reported in their own issues. So I guess I'm closing this one.
Comment #22
anne1960 commentedI do have this issue in drupal 7
I have all the languages and settings as it should be...nothing appears
Comment #23
peter.milan commentedLanguage negotiation:
Set => Path prefix only.
after this setting language switcher will appear
Comment #24
daamy commentedthanks
Comment #25
foxeye commentedWhere to find this setting in D7? Still struggling with lang switcher appearence.
Comment #26
plachYou need to go "admin/structure/block" and enable the "language switcher" block, please note that you need to enable the URL or Session language detection methods at "admin/config/regional/language/configure" to make the block appear.
Comment #28
mja commentedJust a quick one for anyone who, like me, has just wasted a morning trying to discover why the language switcher block isn't displaying - make sure you haven't overridden theme_links in your template.php. That broke it for me.
Comment #29
robin van emden commentedThanks mja, that fixed things for me as well!
Comment #30
nicodv commentedCan anyone tell me why I translated a menu item and a node and after hitting the switch, the new translated interface is shown but the nodes or the menus are just duplicated, they are not chosen depending of the language you choose.
thanks
Comment #31
qqboy commentedmight be because of setting
set the url detect metod
then it appears.
Comment #32
delacosta456 commentedhi
I confirm #12 solution make switcher available
Comment #33
a_e commentedAlso want to confirm #12 works. in Drupal 7.52, in the interface had to go to
Configuration -> Regional and Language -> Languages
-Next click on the "Detection and Selection" Tab
-Next check enable to the right of Detection Method "URL"
-Save
-Click "Configure" on the right of the "Detection Method "URL"
-Click the radio button "Path prefix"
-click "Save Configuration"
Comment #34
avpaderno