[Résolu] Pagination and WPML – Page 2 on secondary language switch back to default lang.
This support ticket is created Il y a 6 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I am trying to: Read English news on page #2 on the English version.
Link to a page where the issue can be seen: lien caché (default language Swedish), works. lien caché (second language English), does not work on page #2 and forward.
I expected to see:
English news on page #2 on the English version but get Swedish news.
Instead, I got: The Swedish version.
Additional information:
* When I'm logged as admin the pagination works on both languages.
* I do not have any cache plugin.
* The view use cached="off".
* The Ajax view does not cache pages ahead.
* Same view for both languages.
* Categories and posts are translated with WPML
* Views have a shortcode attribute where I set the category to list. Different for each language.
Actually I checked and there is a setting for in WPML. If you go to WPML -> Languages and scroll to Language filtering for AJAX operations and enable it and this should work.