Skip Navigation

[Resolved] Pagination and WPML – Page 2 on secondary language switch back to default lang.

This support ticket is created 5 years, 11 months ago. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 10 replies, has 2 voices.

Last updated by Simon 5 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#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:
hidden link (default language Swedish), works.
hidden link (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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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 hidden link .
It's only visible when one is logged out from WP-admin (there's no cache plugin installed).

Thanks,
Simon

#913595

Shane
Supporter

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.