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

    (@grafcom)

    @shadowsdweller,

    Temporarily disable all other plugins and see if that makes a difference.

    If so, activate the plugins one by one and see where it goes wrong.

    Try it also with a standard WP theme.

    Thread Starter ShadowsDweller

    (@shadowsdweller)

    Thanks, I will check that. And I would like to report another thing:

    qtranslate_compatibility.php:

    function qtrans_join($texts) {
    if(!is_array($texts)) $texts = qtranxf_split($texts);
    qtranxf_join_b($texts);
    }

    The function is not wrapped in “function_exists” and doesn’t return the value ?? Please fix that in the next release.

    Plugin Author John Clause

    (@johnclause)

    Thanks, @shadowsdweller, next version will have a fix for qtrans_join.

    I noticed that it only switches to bulgarian if a open https://domain.com/bg

    It is “by design”, reading this may help: https://qtranslatexteam.wordpress.com/2015/02/26/browser-redirection-based-on-language/

    I’m also having this bug. It happens if I e.g. set German (English is main language without prefix) – then follow a link do domain.com/somesite/

    now /somesite/ will be en German. (though German should only appear using de/somesite/).
    (mind though – that i’m still using
    && !isset($_SERVER[‘REDIRECT_STATUS’]);

    for redirection – because everything else will break my payment page links and s2member protected donwloads (s2member / qtranslate-x incompatibility).

    Of course all links shown then will be /de/ – so as soon as you continue surfing as a user – you will be shown German pages using /de/ or you could use the language switcher once – to get the right cookie and then see the proper site.

    It would be better if as soon as German language cookie is detected – the user is also redirected to /de/ instead of being shown secondary language on main site without prefix.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't switch back to default language’ is closed to new replies.