Overview of the Issue
When using UberMenu with WPML, you might experience the following issue: after you sync a menu with WPMLWP Menus Sync, the translated menu items do not have their item styles, such as colors and widths. A Widget Area item with Auto widget area has no widget area of its own, so its translated submenu shows no widgets.
Workaround
Save each translated menu item once:
- Go to AppearanceMenus and open the translated menu.
- Open the UberMenu settings of each item that has item styles or an Auto widget area, and save them once.
- Go to AppearanceWidgets and add the translated widgets to the item’s [UberMenu] widget area.
For widgets, you can also use a shared UberMenu widget area (UberMenuControl PanelGeneral SettingsWidgets) with one widget for each language. Set the language of each widget with WPML’s language setting on the widget.
The UberMenu Control Panel texts, for example the responsive toggle text, are also not translatable. To translate them, go to WPMLSettings, open the Custom XML Configuration tab, paste the code below and click Save. Then translate the texts in WPMLString Translation, in the admin_texts_ubermenu_main context.
<wpml-config> <admin-texts> <key name="ubermenu_main"> <key name="responsive_toggle_content" /> <key name="responsive_toggle_aria_label" /> <key name="retractor_label" /> <key name="mobile_modal_header_content" /> <key name="mobile_modal_footer_content" /> <key name="mobile_modal_close_btn_text" /> </key> </admin-texts> </wpml-config>