WordPress.org

Forums

mqTranslate
Mqtranslate; Language is removed from url in menu url settings (4 posts)

  1. szwaan
    Member
    Posted 8 months ago #

    Links created for the menu are wrong. The reference (querystring) to the language is gone.

    Menu URL defined in the menu structure: 'http://mysite.com/?lang=fr'

    Code: ': Español href=http://mysite.com/><img src=http://mysite.com/wp-content/plugins/mqtranslate/flags/es.png alt=Español >: Español'

  2. Tim Morley
    Member
    Posted 8 months ago #

    I think my post is a duplicate of this one.
    http://wordpress.org/support/topic/new-problem-menu-link-to-langde-no-longer-works?replies=1

    Hopefully with the info from both the issue can be quickly resolved.

  3. szwaan
    Member
    Posted 8 months ago #

    Yes it is Tim.
    Your description is much better though!

  4. szwaan
    Member
    Posted 8 months ago #

    I found a workaround from twust (sorry, don't know how to add the link):

    Workaround : in mqtranslate_utils.php use the old function.

    function qtrans_parseURL($url) {
    /*
    TWU : causes bug for absolute URL.
    $result = parse_url($url);
    if ($result === false) */
    return __legacy_qtrans_ParseURL($url);

    This did the trick for me! Hopefully this will be fixed in the next release.

Reply

You must log in to post.

About this Plugin

  • mqTranslate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic