Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • C#
  • Asp.Net Core
  • SQL
  • Windows
  • WordPress
  • AI
  • JavaScript
  • CSS
  • MORE
    • HTML
    • Ajax
    • Git
    • Docker
    • Kubernetes
    • Photoshop
    • Visual Studio

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • C#
  • Asp.Net Core
  • SQL
  • Windows
  • WordPress
  • AI
  • JavaScript
  • CSS
  • MORE
    • HTML
    • Ajax
    • Git
    • Docker
    • Kubernetes
    • Photoshop
    • Visual Studio
Wordpress

WordPress: Fix a Nav Menu Losing Items After a Language Switch

- 25.11.26 - ErcanOPAK

📝 WordPress: Fix a Nav Menu Losing Items After a Language Switch

On a multilingual WordPress site, each language typically gets its own menu assigned to the same theme location, and most translation plugins only auto-duplicate a menu’s structure the first time a language is activated — items you add to the default-language menu afterward don’t automatically propagate unless you explicitly re-run the plugin’s sync step, so a visitor switching languages can land on a menu that’s missing everything added since the site first went multilingual.

🔎 The Problem

English menu (Primary): Home, Blog, Pricing, Docs, Contact   [5 items]
German menu  (Primary): Home, Blog, Pricing, Contact          [4 items]

'Docs' was added to English last month. Sync was never re-run after that edit,
so the German menu location still reflects the structure from before 'Docs' existed.

âś… Fix: Re-Run Sync and Verify Every Language Has Its Own Menu

  • After adding items to the default-language menu, run the translation plugin’s explicit sync action instead of assuming new items propagate automatically — most plugins only auto-duplicate a structure once, the first time a language is activated.
  • Check that every language actually has its own menu assigned under Appearance > Menus > Manage Locations, since an untranslated location commonly falls back to “no menu” rather than the default-language one.
  • Re-save the theme location assignment after a theme switch or update, since some themes re-register their nav menu locations on activation and can silently clear what was previously assigned per language.

🚨 Why This Is Dangerous

  • A visitor browsing in a secondary language can land on a site where half the navigation simply isn’t there, with no error or fallback, which reads to them as the site itself being broken or abandoned, not a sync step you forgot to run.

A translated menu that was only ever duplicated once is a snapshot, not a mirror — it stops reflecting the original the moment you stop running sync.

— WordPress Admin

Related posts:

WordPress: Database Indexing for Faster Queries

WordPress: Database Indexing for Faster Queries

WordPress Admin Loads Plugins You Don’t Use

WordPress Admin Loads Plugins You Don’t Use

WordPress: Fix REST API Requests Returning 401 Because a Security Plugin Disabled Application Passwo...

WordPress: Fix REST API Requests Returning 401 Because a Security Plugin Disabled Application Passwo...

Views: 9
Found this useful? Share it
XLinkedInWhatsApp

Post navigation

Asp.Net Core: Fix Problem Details Losing a Custom Extension
Windows 11: Fix Focus Assist Silencing Alarms in Quiet Hours

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Read

  1. 01How to make theater mode the default for Youtube 1,079 views
  2. 02How to add default value for Entity Framework migrations for DateTime and Bool 997 views
  3. 03Get the User Name and Domain Name from an Email Address in SQL 996 views
  4. 04Get the First and Last Word from a String or Sentence in SQL 873 views
  5. 05How to select distinct rows in a datatable in C# 868 views
  6. 06How to enable, disable and check if Service Broker is enabled on a database in SQL Server 671 views
  7. 07Add Constraint to SQL Table to ensure email contains @ 631 views
  8. 08Average of all values in a column that are not zero in SQL 584 views
  9. 09How to use Map Mode for Vertical Scroll Mode in Visual Studio 562 views
Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
Back to top
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com