qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
558
stars
107
forks
source link
Object caching prevents seeing correct category translations when switching to a different language #348
Hi !
Thanks for the great plugin. I tried to look into the repo but I could not find a solution to my problem, except some related discussion in #17 . When I activate object caching on my website, if I browse first the french version, and then switch to the english version, the categories are not in the correct language. I've "google-investigated" the problem and it seems to be possible to solve it by adding a key cache_domain in the get_terms args
It was solved in WPML : https://wpml.org/forums/topic/get_terms-and-caching-bug/
Polylang : https://wordpress.org/support/topic/taxonomies-mix-up-with-activated-object-cache
I tried to do it by myself, but I have a very limited knowledge of qtranslate-x and caching. I tried adding a filter in my functions.php theme:
Issue by lemartinet Friday Feb 05, 2016 at 02:45 GMT Originally opened as https://github.com/qTranslate-Team/qtranslate-x/issues/348
Hi ! Thanks for the great plugin. I tried to look into the repo but I could not find a solution to my problem, except some related discussion in #17 . When I activate object caching on my website, if I browse first the french version, and then switch to the english version, the categories are not in the correct language. I've "google-investigated" the problem and it seems to be possible to solve it by adding a key cache_domain in the get_terms args It was solved in WPML : https://wpml.org/forums/topic/get_terms-and-caching-bug/ Polylang : https://wordpress.org/support/topic/taxonomies-mix-up-with-activated-object-cache
I tried to do it by myself, but I have a very limited knowledge of qtranslate-x and caching. I tried adding a filter in my functions.php theme:
But that doesn't solve the problem... That would be great if you could provide such a patch for qtranslate-x !!