When users navigate to other nodes:
1) the language value (set by users via this module/ the 'Language switcher dropdown' block) is ignored, so the target/ next node appears in the default language and
2) the value displayed in the dropdown field remains unchanged, even though the actual language of the target/ next is different.
I tested this using a clean install of the latest Drupal core, running only (optional) core modules.
Users picking a language via a select field within a block (i.e. outside the node area) expect that such setting applies to all nodes (is a site-wide setting for that session) and that values displayed such fields accurately reflect that of the current node.
So, if a user picks a non-default language, that node should appear in that language. If next the users navigates to another node, the language of that node should also appear in that non-default language. If a translation of that node doesn't exist in that language, the language should fall back to the default language.
If (for whatever reason) such logic/ behavior is undesired, it should become optional at least.
Pls, feel free to move this issue to a (optional) core module. NB: The issue occurs also without having the 'Internationalization' module (http://drupal.org/project/i18n) installed, which isn't a requirement for the 'Language Switcher Dropdown' module anyway.
Comments
Comment #1
not_Dries_Buytaert commentedFYI: I have:
The behavior described in the start post occurs also with the standard 'language switcher' block (i.e. without a dropdown field).
So, the root cause of this issue is likely after line 556 of the file 'locale.module' (part of the core module 'Locale'):
Comment #2
dpearcefl commentedIs this issue still occurring in the current version of Drupal v6?
Comment #3
dpearcefl commented