Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi @corparit,

    WPGlobus allows you to translate the menu titles. There is currently no option to show different menus for different languages.

    Thanks
    Gregory
    WPGlobus

    We will keep this in mind for the future releases of WPGlobus.
    Thank you for your report!

    Hi Corparit,
    You could use this plugin:
    https://www.ads-software.com/plugins/menu-items-visibility-control/

    as well as
    https://www.ads-software.com/plugins/widget-logic/

    to easily change what’s displayed in menus and sidebars depending on the current language.
    Just tested, they work well with WPGlobus.

    In the “condition” field, you can use something like:
    get_locale() == ‘en_US’
    to display a menu item only in the english version;
    !(get_locale() == ‘en_US’)
    to display a menu item only if the language IS NOT english.

    Or
    (in_array ( get_locale(), array(‘en_US’, ‘fr_FR’, ‘it_IT’))
    for conditions on multiple languages (not tested, but it should work)

    Plugin Author TIV.NET INC.

    (@tivnetinc)

    Thank you Stefano, this is a great suggestion!

    Thread Starter CORPARIT

    (@corparit)

    Hi Stefano Manfredini

    I solved problem it is already integrated by WPGlobus

    please see this:

    https://1drv.ms/1JMdmqE

    Works like I want But need extra effort by creating menu links. ?? In my opinion better if it will be done automatically, based on database queries.

    Thread Starter CORPARIT

    (@corparit)

    @ Gregory Karpinsky

    Thank you. What you provide now is pretty ok. please see post above.

    @corparit – great news. I thought that you were looking for conditional menus (like one menu item is for Russian only and another – for Urkainian only). Thank what Stefano said should work. If simply translation – then yes, WPGlobus has it from the very beginning.

    Glad we could help!
    Thanks

    Hi Gregory,
    I’m trying to find where shall I put my menu translations so that the menu of each language be displayed in the language of the page.
    I’ve downloaded and installed the two plugins that Stefano mentions but I can’t find where to edit (“condition fields”).

    But then you state that WPGlobus has it from the very beginning. So I’m now wondering how to change the menus’ texts…
    Thanks in advance for your reply,
    Tamatoa

    Hi Tamatoa,

    To avoid any confusion, as it was in the previous discussion, please let me know what exactly are you trying to achieve? Menu translation is a standard function of WPGlobus and does not require any additional plugins.

    Thank you!

    Hi Tamatoa,
    maybe it’s not so clear from the discussion above, but you need those other plugins only if your menus ara different (=they contain different items) by language.

    Exactly as Stefano said.

    For example, you would like to have “Home”, “About” and “Contact Us” in English, and “Shop”, “My Account” and “Useful links” in another language. Then those are completely different menus, pointing to completely different URLs, and you need one of the “conditional menu” plugins to specify which menu items to show when.

    If you only need to translate “Home” and “About” to another language, you can do it in WPGlobus.

    Hi Gregory and Stefano,
    thank you for your replies.
    I finally found how to input my translations in the menu. In fact, I hadn’t looked into the “menu Structure”. And bam!

    So now, I do need to know how to add a menu item in the default language only: I have this blog that I have installed on a subdomain and it’s going to be in English only (My default language). I created an item in my menu pointing to my subdomain. However, I automatically get a French version for this item. So my question is, “How to waive the language option for this item”?

    So, people browsing in FR should not see the link, correct?

    Can use one of the conditional plugins, or maybe simply hide with CSS?

    Yes, that’s correct. How do I go about hiding the item in the fr version?

    Gregory Karpinsky hi – привет! It looks like Home menu is not traslated by WPGlobus. Any advice?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How to use WPGlobus with menu's?’ is closed to new replies.