Add a selector to a navigation menu
POM Translate adds a special Language Switcher panel to the classic WordPress menu editor. The saved placeholder is expanded into current language destinations when WordPress renders the menu.
Configure the global menu output
- Open Settings → POM Translate → Language switcher.
- Under Nav menus, choose Nav menus format:
- Dropdown menu;
- All languages at the same level.
- Configure Nav menus markup.
- Save the settings.
Add the menu item
- Open Appearance → Menus.
- Expand the Language Switcher panel.
- Select Language Switcher and choose Add to Menu.
- Move the item to its intended location.
- Expand it and choose whether to Include base language in the list.
- Select Save Menu.
The item editor deliberately hides ordinary custom-link controls. Its URL is an internal placeholder, not a public destination to edit.
Understand both formats
In dropdown mode, the current language normally becomes the parent label and the other languages become children. When the current language is globally hidden, the parent uses Hidden current language label and is not marked as the active locale.
In same-level mode, every included language becomes a sibling at the placeholder's menu position. Hiding the current locale removes its entry.
The generated entries carry language-specific CSS classes and link attributes. They are not persisted as separate menu items.
Verify the theme integration
Test the actual public menu:
- desktop hover and focus behavior;
- mobile menu expansion;
- parent and child indentation;
- current-item styling;
- long language names;
- a menu containing other nested items;
- a route with an excluded locale.
POM Translate supplies the hierarchy and destinations. The theme's menu walker and styles control how the submenu opens.