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

  1. szwaan
    Posted 1 year 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
    Posted 1 year ago #

    I think my post is a duplicate of this one.

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

  3. szwaan
    Posted 1 year ago #

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

  4. szwaan
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic