Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Caching through languages

$
0
0

Replies: 0

Hi,

first I’d like to thank you for the great plugin!
It worked great so far but I am having issues with multilanguage management. I built an app on top of a WP website that uses QTranslate X to manage multilanguage content. If the content gets cached in the main language and then I change language, the content returned from following requests is still in the main language. Endpoints structure is the basic WP [domain]/wp-json/wp/v2/[post_type] and when its not in the main language its: [domain]/[LANGCODE]/wp-json/wp/v2/[post_type].
I tried to add the language=[LANGCODE] parameter to the call too but nothing changes, response is still in the cached language.

Thanks in advance for your help.


Viewing all articles
Browse latest Browse all 59525

Trending Articles