• emmathalen

    (@emmathalen)


    Hi!
    We are using Max Mega Menu for an e-commerce site that uses WPML for language translations. With WPLM we are switching to different domains depending on the language.
    The menu works great on the swedish domain which is the main one, but as soon as I switch to another language then classes like “mega-menu-megamenu” disappears from the top level list items and it feels like the javascript files with the hover-events doesn’t get loaded.
    I can’t really figure out the reason for this and I would need help with getting around this issue.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author megamenu

    (@megamenu)

    HI emmathalen,

    Please can you post a direct link to a page/language where it’s not working?

    Please double check this page, especially the first screenshot, and note that translated menus must be created from scratch (do not use the menu sync option):

    https://www.megamenu.com/documentation/wpml-setup/

    Regards,
    Tom

    Thread Starter emmathalen

    (@emmathalen)

    Hi!
    Of course, here’s one link to a translation where the menu isn’t working:
    https://theseedstore.it/

    I have looked through that documentation and everything is according to that. What’s strange is also that the english translation is working, but for example not the Italian one due to that the class “mega-menu-megamenu” doesn’t exist on the Italian page.

    Plugin Author megamenu

    (@megamenu)

    Hi emmathalen,

    Thanks. Did WPML auto translate/create that menu for you based on the english one?

    You would need to build it from scratch, as WPML does something strange when it copies the menu from a different language (I’m not sure what, all I know is that it doesn’t work as you’d expect it to).

    Regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘element-class disappears when changing language with wpml’ is closed to new replies.