qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
545 stars 103 forks source link

Item does not appear in menu and breadcrumb when language input remains the same. #1361

Open ersinco opened 11 months ago

ersinco commented 11 months ago

I noticed this issue while editing the category names. I have a website where I share software contents.

I have a post category called "Windows" and since many other languages call it "Windows", the category name remains "Windows".

There is a "Windows" category in the Main Menu of my website.

When navigating on the Home Page of my website, the "Windows" Category appears in the Menu. But when I go to the "Windows" Category this item disappears from the menu.

If the Windows category name stays the same in other languages:

https://prnt.sc/TQqkuHQT4Lrr

But when I change the name of the Windows category to other languages this issue is resolved:

tr: Windows en: Windows-en fr: Windows-fr

https://prnt.sc/NafDQ7pR5Vka

I use Yoast Breadscrumbs, same goes for breadscrumbs. If the category name is the same in multiple languages, for example "Windows", it is not listed in the breadcrumb.

If the Windows category name is different in each language (Windows, Windows-fr, Windows-en)

Home > Windows > Winrar

If the category name is the same in more than one language

tr: Windows en: Windows fr: Windows

Home > Winrar

So our problem is that if the category name entries are the same it doesn't show up in items like menu and breadcrumbs. It should show up even if the entry is the same, but unfortunately it doesn't.

Versions : 3.15.2 @herrvigg