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
553 stars 104 forks source link

The category menu item disappears #1371

Open digitalform opened 1 year ago

digitalform commented 1 year ago
  1. I create e.g. a Blog category.
  2. I'll add it to the menu (Appearance -> Menus)
  3. On the website, I click on the Blog (archive) menu item, the Blog menu item disappears.
ersinco commented 1 year ago

This issue has already been reported: https://github.com/qtranslate/qtranslate-xt/issues/1361

Yes, I've had this problem too.

This issue has a temporary solution for now.

The menu you are using is available in All languages, so you must give the menu item a different name.

But if you give the same name to the menu item in all languages, the item won't work :)

Name of your menu item: Blog

Since the blog name is the same in every language, you cannot give it a different name in other languages, I am aware of that.

The solution to this situation is to save the item with a space before the name of the menu item in other languages.

Native language: Blog

  1. Language: {space} Blog
  2. Language: {space}{space} Blog

If you save this way, the menu items will appear.

The definition of the problem is as follows: If the name of the menu item is the same in all languages, when you go to the page of the item in the menu, the item of the current page in the menu disappears.

digitalform commented 1 year ago

Hello ersinco,

Thank you! It works!