Skip Navigation

[Resuelto] Load more button loads posts in wrong language

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: When I try to load more posts with an AJAX update, I am shown posts in the wrong language.

Solution: Adjust the settings in WPML > Languages to enable an AJAX cookie.

This support ticket is created hace 7 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por linaS hace 7 años.

Asistido por: Christian Cox.

Autor
Mensajes
#589901

At English home page we've got list of last posts (view) with option to load more posts. When we click it, we get Hebrew posts instead of English ones. You can see this at /en/ (EN home page of the site). It's somehow related to whether we're logged in to admin. When we're at admin, proper language is loaded. When guest user is looking at the site, only HE posts are loaded. Note that we don't have any caching plugins installed there.

#589990
Screen Shot 2017-11-15 at 3.05.20 PM.png

Hi, you may need to adjust the settings in WPML > Languages to enable an AJAX cookie. Please see the screenshot here for an example. If this doesn't resolve the issue for you, the WPML forum is the appropriate place to get multilingual support. The WPML team is better educated on WPML and will have the most helpful information for you regarding translated content.

#590017

YES!
Thanks, it's working now...