Skip Navigation

[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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 10 réponses, a 2 voix.

Dernière mise à jour par Simon Il y a 6 années et 5 mois.

Assisté par: Shane.

Auteur
Publications
#905614

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.

#905762

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

Thank you for contacting our support forum.

Could you let me know when this issue started occurring ?

Thanks,
Shane

#906005

Hello Shane

I'm not really sure, but the issue was also with the previous version of Types 3.0 (2.2.23) and Views 2.6 (2.5.2).

Best regards,
Simon

#906303

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

Would you mind providing me with a duplicator package for the site so that I can check on this further for you ?
https://toolset.com/faq/provide-supporters-copy-site/

The private fields have been enabled for the next response.

Thanks,
Shane

#908584

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

Thank you for the duplicator package.

I'll let you know if there is anything I can find on this.

Thanks,
Shane

#909453

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

I tried the duplicator but it doesn't seem to work.

Would you mind providing me with admin access to the website ?

Thanks,
Shane

#911903

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

I checked on this issue for you and it seems that it no longer occurs.

Could you check on your side and let me know ?

Thanks,
Shane

#912251

Hello Shane,

I can still see the issue on page #2 on lien caché .
It's only visible when one is logged out from WP-admin (there's no cache plugin installed).

Thanks,
Simon

#913595

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

I was able to replicate the issue on a fresh install and have reported it to our 2nd tier supporters for further debugging.

Thanks,
Shane

#913597

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Simon,

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.

Thanks,
Shane

#914577

Thank you Shane,

It's working perfect now!