Hi,
I have a problem with the translation of the calendar widget and the mail chimp widget. The content of the calendar and of the signup tab are not translated into French as opposed to the rest of the page. As it is a translation issue, I have contacted the WPML team who replied the following:
The calendar content is based on this AJAX request:
http://salseros-international.com/wp-admin/admin-ajax.php?action=geodir_event_manager_ajax&event_type=calendar&sday=1&wday=3&_loc=1&_l=0
This request does not specify any language, then WPML filters it with the default language = fr.
You can see this request with &lang=en added in the end
http://salseros-international.com/wp-admin/admin-ajax.php?action=geodir_event_manager_ajax&event_type=calendar&sday=1&wday=3&_loc=1&_l=0&lang=en
It’s returning the correct English content.
So now, to resolve this, you should ask this plugin author to add this “lang” parameter.
Reference: https://wpml.org/wpml-hook/wpml_current_language
Could you please help me resolve this?
Thank you in advance.
Beatrice