• Resolved getupp

    (@getupp)


    When we select a language, and then leave a reply, or click at the logo, or a date at the comments or any theme based option, the language resets to the default.

    Please help me!

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Ben Ritner – Kadence WP

    (@britner)

    This is a qtranslate issue, you may have to talk with the author on the best way to make these links work with his plugin, from what I read you would need to change line 53 of the header.php file from this:

    <a class="brand logofont" href="<?php echo home_url(); ?>/">

    to this:

    <a class="brand logofont" href="<?php echo qtrans_convertURL (get_bloginfo('url')); ?>/">

    Kadence Themes

    Thread Starter getupp

    (@getupp)

    Thank you for the answer, i wrote in the qTranslate forum, but maybe you can help me i don’t know where is the problem exactly.

    I installed qTranslate slug and it should fix the problem but this happens:
    https://mywebpageurl.eu/?lang=hu/ — not works, sets deafult language
    https://mywebpageurl.eu/?lang=hu — if i delete “/” it works, so why / added to the end of the url? any advice to fix it?

    After i log out from account:
    https://mywebpageurl.eu/?p=1&lang=hu — the problem is the : instead of the &

    And finally what i noticed is when clicking on a date:
    https://mywebpageurl.eu/?p=1&lang=hu#comment-7 — the same problem

    Thank you! Sorry if it is not your table ??

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Have you tried using the other permalinks with /hu/ instead of ?lang=hu

    Have you re-saved your permalinks in the wordpress settings?

    All this is really something the author could tell you how to adjust. I didn’t write the plugin so I don’t know how it gets the url and how you could adjust it.

    Kadence Themes

    Thread Starter getupp

    (@getupp)

    Thank you for the help i will try out, and hope it will work. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘qTranslate links changes to default lang’ is closed to new replies.