• I have been using weglot translation plugin. After using WPCSC plugin, sometimes in some pages it shows the page of another translated language.

    After clearing the cache it would work for a while but eventually it would display incorrect translation again.

    What do I need to change to prevent this?

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter frankie1221

    (@frankie1221)

    I am now excluding all the cache of my weglot translated language by adding mydomain/zh-tw* in CF page rules and in the WPCSPC’s “prevent URI to be cached”, so that it does not messes up my original language for the time being. But then all the pages of the translated language is very slow without the cache.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    it is hard to say why that is happening without knowing exactly how the translation plugin is working. If the translation plugin is using cookies to save data then unfortunately this caching plugin won’t be able to help. As for the first page view when the default language is loaded there are no cookies so CF caches the page and from this point of time CF will push the cached version of the page from it’s cache.

    I would suggest you that when you are using the plugin, enable the HTML only purge mode. After that open an incognito window, go to a page and then change the language. Now go back to the plugin settings to see the list of HTML pages cached and see if you see the page URLs in two different format:

    https://gentlebro.com.hk/
    https://gentlebro.com.hk/zh-tw/
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Weglot and displayed wrong language’ is closed to new replies.