Support » Plugin: qTranslate X » Change the Menu Label text

  • Resolved Webmaster_crawl


    I just installed and wondering how can i chang the menu label text of language switcher navigation item.


    Added Language Switcher Menu item in my main menu, The switch button is named as “Language” and the label does not changes even defining custom label in w p menu label option.

    Is it being inserted by js or something else??
    I know the url #qtransLangSwLM# however giving any custom menu item this link ignores the menu item label and “Language” is displayed in english instead .

    Please refer snapshot to understand

    View post on

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gunu



    Word Language should change/translate when switching language. (?)

    You can hide the word Language (not change) with:


    Thread Starter Webmaster_crawl


    Ok Got it.

    Also can you point me to the plugin code file where this label is hard coded “Language” so that i can change it to something else.


    Plugin Author Gunu



    you can use the .po and .mo files (in folder qtranslate-x – lang)from the different languages and changes it there. But after an update that will be replaced again.

    Plugin Author John Clause


    I agree, @Webmaster_crawl, indeed it should take the label from the place you pointed out. This is an older code from the time when we had no good multilingual menu editing. We will consider changing it sooner or later. Meanwhile, take @gunu’s advice, or change it in the code at line


    in file qtranslate_frontend.php. Thank you.

    Thread Starter Webmaster_crawl


    Thanks @jogn & @gunu.

    I did too figured that out while going adventurous with my dev server πŸ˜‰

    I had to hide the flags as well as try the AL option.

    So in qtranslate_frontendphp

    function qtranxf_wp_get_nav_menu_items( $items, $menu, $args ){}

    I played with some variables and it worked πŸ™‚

    In Future we can add easy admin options for this as well , what say πŸ™‚

    At all, very good plugin . Keep the good work guys. I just rated it 5star πŸ˜‰

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change the Menu Label text’ is closed to new replies.