When SMA enabled it is impossible to set any other translation mode than the default "No multilingual options for menu items".

One can choose one of the radio buttons, but after saving it resets the original state.

(I'm not sure if it is the bug of SMA or the bug of i18n, but it's clear that they incompatible.

Comments

robertgarrigos’s picture

I can confirm this. They are incompatible :-(

sylus’s picture

Confirming as well.

ericmulder1980’s picture

I can confirm this as well.

mrfelton’s picture

also confirming ;)

mariomc’s picture

Confirm here as well

mrf’s picture

Still seeing this issue.

I've attached some before and after screenshots to show how the 'Multilingual' settings box UI changes when this module is enabled.

before

after

Anonymous’s picture

Confirming as well.

petterw03’s picture

Issue summary: View changes

There is a patch for i18n here that apparently fixes the issue: https://www.drupal.org/node/2221189#comment-8590281

yareckon’s picture

So is SMA hanging it's settings in a wrong place that causes issues for other modules, or is i18n not doing something right? The patch is about i18n needing to explicitly declare parents for form fields because the values are weirdly nested otherwise. is SMA doing something that would cause this?

Would be easier to expect a fix from SMA if you have a handful of open issues rather than i18n that has over 300.

b-prod’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.62 KB

The patch fixes this issue. The problem is that the overview form is hierarchical and the edit form not. So this is caused by the Simplified Menu Administration module which does not takes care of that. Creating a patch against another contributed module (like i18n menu) is not relevant.

Cogax’s picture

#10 works for me! I came over from https://www.drupal.org/node/2221189 and this patch solves my problems. Thanks to @B-Prod !

b-prod’s picture

Status: Needs review » Reviewed & tested by the community

Patch used on several live sites.

Reviewed by Cogax (see comment above)

David_Rothstein’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.98 KB

But what happens if the second form (the one being merged in) has #tree set to TRUE (at the top level of the form) itself? This would break that.

Here's a version that should work in both cases. I tested with i18n_menu and it seemed to work.

b-prod’s picture

@David_Rothstein: Thanks, good point for you!

I will be able to review your patch next week.

b-prod’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #13 works well (tested compatibility with i18n_menu).

  • a32f579 committed on 7.x-1.x
    Fix issue #1256700 by thamas, David_Rothstein: SMA incompatible with...
b-prod’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.