Active
Project:
Menu translation (Node)
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2011 at 01:57 UTC
Updated:
23 Feb 2011 at 03:37 UTC
I have admin_language enabled and the interface is set to admin language (say English). admin_language module allows to have the interface in admin's preferred language.
I'm editing node page in other language and the menu items are shown translated to the admin language rather than the language of the node that is currently being translated.
I know that it is probably more of admin_language issue, but with the way it is written I'm not sure that it is possible to do what I'm asking (the module changes global $language).
So, is it possible to have a setting to respect the menu item language on non-default language pages with admin_language enabled?
Thanks
Comments
Comment #1
plachI'm not sure I get what you are asking. Currently MTN does not act when a menu item has a language explicitly assigned: do you mean the menu item should be visible even if the UI language does not match the menu item language? If so this feature request should be moved to i18n, since it's the language selection feature that hides the menu item, see this related issue #614548: i18n_init() not run early enough - frontpage primary menus in wrong language or dissapearing.
Comment #2
alex.skrypnykWhat I meant is that admin_language changes the $language variable to set selected administration language.
By doing so, when accessing the page in language different from default, all menus (both administrative and custom ones) get translated to that administration language as well.
The options I'm asking about is to provide functionality to disregard the change that admin_language does for the menu items that have translation via MTN.
Comment #3
plachOk, but what language we would use instead? The one negotiated before admin_language overrides it? The original node language?
Comment #4
alex.skrypnykThe node language. AFAIK, node can have only 1 language, so when manipulating the node (edit, clone, delete) show menu items in this node's language.