Change the language in the block does also change content language
buckley - April 19, 2009 - 21:06
| Project: | Preserve language |
| Version: | 6.x-0.x-dev |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
I have made a video that will make this clear, or so I hope
http://screencast.com/t/sftC7pxVF7
Kind Regards, Tom

#1
Hi,
Two things determine the language of a page in Drupal 6. Given a url www.yoursite.com/en/node/1 , the "/en/" part determines the language of the site itself (ie. the interface language), and the 'node/1' part determines the language of a content (because a given node is always in the same language - translations are given different node ids).
This is what the module is meant to do :
* Let's say you have two nodes, node/1 in English and node/2 which is the Dutch translation of node/1
* Let's say you are looking at www.yoursite.com/en/node/1 : that is, an English node with an English interface.
Now with the Language Switcher module that comes with i18n, if you click on 'Dutch' it will take you to www.yoursite.com/nl/node/2 : that is, the Dutch version of the node, with a Dutch interface.
With the Preserve Language interface switcher, it will take you to www.yoursite.com/nl/node/1 : The english version of the node, with the Dutch interface. The point is that it does not change the 'node/1' part of the URL - which determines the language of the content.
Now, I watched your screencast, and it seems to me that it is working properly.
1. You were viewing node/53 (which is in English), with a Dutch interface.
2. You clicked on English interface, and you are still viewing node/53 but the interface is in English.
Note that node/53 was in English to begin with - maybe that is why you got confused ?
Or did I misunderstand your point ? Let me know if you need more help/explanations.
#2
Thanks for making the Anselm Heaton! Sorry for the late response as I though I would get notified by email.
I understand what your module is doing now. Thanks very much for the explanation.
What I need is that the language of the back office (after you login) is in English always. So I I have a dutch and french site which works as normal I want to administer it exclusively in english.
Do I explain myself well?
Regards, Tom