Support » Plugin: qTranslate X » Being able to use different menu items for different languages

  • I’ve noticed that qTranslate X gives you separate tabs for editing menu items on wordpress admin, and that alone is great, makes it way easier to edit label names for people that are not familiar with markup stuff like <!–en–> or [:en].

    I wanted to know if it was possible to add different items for the same menu, depending of the language selected, since if you remove an item from a menu, it gets removed for all languages as well.

    The closest i’ve managed to do it is by removing menu labels on the undesired languages without removing the item and the item won’t even show up on them, which is great.

    But that workaround can be confusing for most end-users. I was thinking if there is a better solution to that, maybe with some wp filter editing, or maybe with wp_nav_menu callback function. Anything would be interesting.

    Thanks in advance.

    https://wordpress.org/plugins/qtranslate-x/

Viewing 1 replies (of 1 total)
  • Plugin Author John Clause

    (@johnclause)

    When you say “different items”, what exactly do you mean to be different? Title? URL? Page vs category vs tag? If it is only about title and attribute, then your solution is what is designed and mentioned in FAQ somewhere. Even with URL you can create two different items and show one of them for one language and other for another one controlling it with empty title per language.

    I guess we could implement different menu all together depending on language. Would that be better? Maybe, in some cases?

    This apparently goes as a new feature request. It would help, if you design and give us description what exactly you would wish to be implemented. Current implementation is actually flexible enough to achieve many things, if not all needed. There might be a few very different ways to improve it. Please, give us your wishful design.

Viewing 1 replies (of 1 total)
  • The topic ‘Being able to use different menu items for different languages’ is closed to new replies.