• Resolved jjribs

    (@jjribs)


    Hi, we have a blog as part of our website that is written in English and then translated into Spanish. We are having a similar issue as some of the other recent posts that I read in regards to not being able go back to the default language. When trying to click back from “Espanol” to “English” from the dropdown the page simply refreshes and remains in Spanish.

    Also, when I click onto another page on the site that is linked to the English version of that page (since there is no Spanish version), it tries to load the Spanish version of the page, which doesn’t exist. It seems like when I try to change a single blog post into Spanish, it assumes that every page I click on should be in Spanish.

    To make it even weirder, I am having the issue only in an “icognito window” of Chrome and a regular window of Firefox (Chrome and Safari work fine).

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

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

    (@grafcom)

    @jjribs

    have you read this Browser re-direction based on language

    Can you give me a link to your website?

    Thread Starter jjribs

    (@jjribs)

    Thank you for your prompt response. I’ll give it a read and get back to you.

    Thread Starter jjribs

    (@jjribs)

    Thread Starter jjribs

    (@jjribs)

    Above is our test site where we seem to be having the issue at all times.

    However, on our live site (https://www.keepingcurrentmatters.com/blog), it seems to be sporadic. Some of our members are reporting the “stuck in Spanish” issue no matter what browser they use. The only way we can replicate the issue on our live site is to use an “icognito” window in Chrome or use Firefox.

    Better yet, both the live site and the test site have the same options set. We’ve disabled the language cookie because we don’t want the browser to remember their language across the whole site (just the blog). Despite having the “Hide Content which is not available for the selected language” option checked, it still tries to take you to the spanish verison of a page even though there is nothing there.

    Thread Starter jjribs

    (@jjribs)

    Any ideas?

    Plugin Author Gunu

    (@grafcom)

    @jjribs

    please see also here: Troubleshooting

    Try to reproduce the problem under a simpler configuration with as many plugins off as possible and with one of the standard themes, like “Twenty Fifteen”, “StoreFront”, etc. This may help you to figure out which plugin is in conflict.

    Plugin Author Gunu

    (@grafcom)

    @jjribs

    We’ve disabled the language cookie because we don’t want the browser to remember their language across the whole site (just the blog).

    Please enable this with testing.

    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 jjribs

    (@jjribs)

    So it seems like when I fix one issue it breaks the other and vice versa. Unchecking that option (disabling language cookie) allows me to switch back from language to language. However, it keeps the language across the whole site instead of just on the blog. I guess I’ll have to choose the lesser of two evils…? Just weird that this is happening ever since we switched over to qtranlsate-x from mqtranslate… =/

    Plugin Author Gunu

    (@grafcom)

    Just weird that this is happening ever since we switched over to qtranlsate-x from mqtranslate…

    qTranslate X is different as mqtranslate…

    an alternative could be if you make a separate WP installation for your blog (?)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Switching between languages’ is closed to new replies.