Active
Project:
Preserve language
Version:
6.x-0.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2009 at 21:06 UTC
Updated:
13 May 2009 at 18:34 UTC
Hello,
I have made a video that will make this clear, or so I hope
http://screencast.com/t/sftC7pxVF7
Kind Regards, Tom
Comments
Comment #1
Alice Heaton commentedHi,
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.
Comment #2
buckley commentedThanks 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