Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

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

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 2 replies, has 3 voices.

Last updated by Bruno Kos 1 year, 8 months ago.

Assisted by: Bobby.

Author Posts
August 15, 2023 at 9:26 pm #14205365

timurG-2

I am trying to:

Configure ESTATIK plugin with WPML

Link to a page where the issue can be seen:

hidden link

I expected to see:

The ESTATIK plugin developers wrote this to me:

HI Timur,

We checked that and here is what you need to check on WPML side:

hidden link

This ajax option that is available in WPML is not working. Please reach out to their support and ask about it.

admin
12:45 am
HI,

all content of ajax response retrieve on incorrect lang. It means that selected lang ignores ajax responses at all.

admin
9:10 pm
Hi Timur

Sorry but it seems we didn't explain properly. The issue is not in the language selected but in WPML not supporting ajax. You need to reach out to WPML with a screenshot that we provided above and ask if they can help with this.

August 17, 2023 at 9:37 am #14244473

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Timur,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

If the plugin Estatik retrieves the posts via Ajax and a custom query, they can follow the documentation below to pass the current language via Ajax https://wpml.org/documentation/support/debugging-theme-compatibility/#issue-custom-non-standard-wordpress-ajax-requests-always-return-the-default-language-content

then use the filter hook "wpml_object_id" to get the translation post ID based on the language.
https://wpml.org/wpml-hook/wpml_object_id/

This plugin is also not available in our list of compatible plugins, which you can check here https://wpml.org/plugin/

I also suggest you contact the plugin author and ask them to join our Go Global program where our Compatibility developers will help them to make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/

Look forward to your reply.
Thanks

August 17, 2023 at 9:38 am #14244479

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

Can you tell me what isn't working on hidden link when it comes to language? I am not sure I understand?

Also, since you are in contact with their developers, can you ask them if they are willing to work on us on official compatibility through our https://wpml.org/documentation/support/go-global-program/?

Because Estatik PRO is officially not compatible with WPML so issues are possible and the more complex the plugin is, bigger the chances are they developers' input is needed.

Regards,
Bruno Kos

The topic ‘[Closed] All content of ajax response retrieve on incorrect lang. Not supporting AJAX.’ is closed to new replies.