• Resolved ermolaevalexey

    (@ermolaevalexey)


    Hello, i’m using Qtranslate X with WordPress 4.3.1. I have Russain and English languages on my site. Russian checked as default. When I switch to English version and then closing the tab and browser window, and then typing address of my site, it gets with English version. Then I saw in my browser inspector cookie named qtrans_front_language with en value. I need to load my site with Russian set by default in all cases and let users to switch site language manually. But because of this cookie it gets with English.
    I even set parameter disable_client_cookies to true in qtranslate_options.php, but no effect. Languge swithes with query string
    ?lang=en. I have query string dispalying for deafault language switched off.
    How can I solve this problem? Please help me.

    Regards, Alexey.

    https://www.ads-software.com/plugins/qtranslate-x/

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

    (@grafcom)

    @ermolaevalexey

    delete cache and cookies to access clean your site, such as a user’s first time visiting your site.

    Read also this: Browser re-direction based on language

    Thread Starter ermolaevalexey

    (@ermolaevalexey)

    OK, but how can I make this qtrans_front_language cookie even not to create?

    Plugin Author Gunu

    (@grafcom)

    Settings – Languages – Advanced – Cookie Settings

    But be aware:

    Language cookie is auto-disabled for “URL Modification Mode” “Pre-Domain” and “Per-Domain”, as language is always unambiguously defined by a url in those modes. Otherwise, use this option with a caution, for simple enough sites only. If checked, the user choice of browsing language will not be saved between sessions and some AJAX calls may deliver unexpected language, as well as some undesired language switching during browsing may occur under certain themes

    Thread Starter ermolaevalexey

    (@ermolaevalexey)

    Ok, thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A problem with cookies or something else?’ is closed to new replies.