Ajax requests reset WPML language
-
Hello,
When using WPML, on initial calendar load (month view/list view) all strings are correctly translated (Page title, next/previous links, etc). But after clicking next or previous links, and the new results are loaded in via Ajax, all those strings are back to the default language.
The code in /lib/template-classes/{day,list,month}.php grabs the event posts and the template, but apparently doesn’t allow WPML to run its actions and filters to make sure the content is translated.
You can see this happening here: https://conservatucasacalifornia.org/events/
Thank you.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Ajax requests reset WPML language’ is closed to new replies.