Viewing 6 replies - 16 through 21 (of 21 total)
  • No problem, thanks for your time !

    Daniel

    (@ddumondgmailcom)

    Just curious if this issue has been actually “resolved?”

    I’ve like to switch over to mqTranslate but all our websites use Qtranslate Slug and my boss is going to kill me if anything breaks. Many directory sites link back to us via specific links and it’s important we keep the structure.

    To be clear, it was said we can modify qtranslate-slug.php by replacing line 261 with this:

    return ( version_compare($wp_version, "3.3", "<" ) || (!is_plugin_active('qtranslate/qtranslate.php') && !is_plugin_active('mqtranslate/mqtranslate.php')) );

    and adding this after line 678:

    if ($GLOBALS['q_config']['url_mode'] == QT_URL_PATH)
    	$req_uri = preg_replace("/^{$GLOBALS['q_config']['language']}(\/|$)/", '', $req_uri);

    Will my slugs work the same by doing this? Having read n4than’s post I’m assuming it’s no. ??

    N4than, have you had any progress with this?

    chsxf, I understand it’s not your responsibility to account for other plugins, but I have to admit this is an important feature! Like you said, it’s been long since there’s been any activity with Qtranslate Slug and I don’t foresee any in the near future… Like Dr. Phil says, “The best predictor of future behavior is past behaviour!”

    That said, we’re at your mercy! ?? Do you foresee any of the following…

    • Integrating seamless compatibility with Qtranslate Slug?
    • Implementing a feature in mqTranslate that handles slugs?
    • Perhaps creating a second child plugin, um you could call it “mqTranslateSlug”? ??

    Just trying to get a grasp on whether or not I should continue looking in this direction as an alternate to Qtranslate as the slugs are an important factor to us!

    Thanks! ??

    Hi Daniel,
    to sum it up:
    – the main language of my Website is french, second language is english
    – i use mqtranslate, qtranslate slug with the hack you ve mentioned
    – when I m on the english version, the main menu’s links are pointing to the correct translated urls with the english slugs
    So far so good…

    The only problem I ve noticed is when I use the mqtranslate widget selector on a page.
    The url is domain.com/en/french-slug which is not normal

    My guess is that it could be related to the permalinks structure. I should try different settings and see what happens.

    I don’t think this is a major issue however. The main point of having qtranslate slug is for SEO. My plan b is to put these en/french-slugs page in no follow, no index, so I can generate a clean sitemap.

    I m not at home at the moment so I ll probably try this tonight or tomorrow. I keep you informed.

    Daniel

    (@ddumondgmailcom)

    Awesome!

    You’re right… It sounds like it could just be a matter of adjusting some settings!

    Please keep us posted on your progress and thanks for your help!

    Good luck and God speed! ??

    I have similar problems.

    I did the first update:
    return ( version_compare($wp_version, “3.3”, “<” ) || (!is_plugin_active(‘qtranslate/qtranslate.php’) && !is_plugin_active(‘mqtranslate/mqtranslate.php’)) );

    My question
    I haven’t done the second update because I am not sure about the right line after having done the first update.
    Can anybody tell me, what’s the code in the lines 677 and 679?

    But as much as I’ve understood by reading other comments, this won’t solve my following problem.

    As to the default language (German) everything works.
    But in the second language (Italian) there are
    b1) some pages which are not found, although the correct Italian slug is shown
    myURL/it/home/ItalianSlug/
    b2) other pages work, but the German Slug is shown
    https://myURL/it/home/GermanSlug/

    It’s rather weird and I hope that the Plugin Author may succeed in solving the problem with the next version.

    S

    b2)

    Thank You

    S

    I opened a topic on the qtranslate slug’s support page by the way.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘mqTranslate and Qtranslate Slug’ is closed to new replies.