on page admin/settings/language/configure/language
there are 2 different menu_default_local_task-s when the l10n_client module is also enabled with i18n..
see attached picture..
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | D6_languageicons_tab_name_path_fix.patch | 1.13 KB | hass |
| menu_default_local_task.png | 10.67 KB | pasqualle |
Comments
Comment #1
jose reyero commentedI think this is l10n client's issue
I don't know what happens with that menu, but I see the two tabs causing trouble are l10n's. Maybe the issue happens when one more tab is added there (language icons) but I'm just adding a 'non default local task'...
Gabor?
Comment #2
gábor hojtsyLocalization client just adds the "Language negotiation" default tab and the "Localization sharing" non-default tab:
Looks like i18n is also adding a defualt tab there. I have no idea ATM on how could we avoid multiple contribs putting in default tabs there. I also think that l10n_client is adding a more specific default tab title, which is better to use instead of just plain "Configure". I'd try using the same default tab code in Language icons, and see what happens.
Comment #3
hass commentedSame here. I'm with Garbor - we should use the 'Language negotiation' tab title.
Comment #4
hass commentedPatch attached copies 1:1 the menu item from l10n_client. We might need a menu refresh in .install for people upgrading from older versions...
Comment #5
Freso commentedCould somebody please test that the patch works as expected? Thank you.
Comment #6
jose reyero commentedI think this was caused by a bug in i18n module (menu_alter) already fixed so possibly no need for any patch here.
Comment #7
hass commentedJose: No, this patch needs to go in...
Comment #8
jose reyero commented@hass,
Yes, you're right, I had read the thread too quickly...
I've tried it and it works.
Comment #9
Freso commentedThanks for testing, Jose!
I'll commit this once I get back to my private development machine. (And per #4, I'll add a menu_rebuild() to a hook_update_600N, just to play it safe.)
Comment #10
hass commentedThe menu refresh is not really required... all people should run update.php... on every module update.
Comment #11
Freso commented@ hass: Alright. Thank you. :)
I've committed the patch to 6.x-2.x and 6.x-1.x and once I've committed the flag icons waiting in the queue, I'll make a 6.x-1.1 release.
Thanks for the help and inputs everyone! :)