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.

This topic contains 3 replies, has 2 voices.

Last updated by Radu 4 years, 8 months ago.

Assisted by: Radu.

Author Posts
February 20, 2020 at 6:58 pm #5535901

m.a.d

Hi There,

I have an AJAX menu on my website: hidden link.

When I switch language, the content is changing, but the menu is not changing from NL to ENG and vise versa.

Can I somehow force to update the menu as well? I tried disabling AJAX for the complete website, which resolves the menu issue, but then parts of the website are broken...

Thank you very much for the suggestions!

Regards,
Chiel de Nooyer

February 24, 2020 at 6:22 am #5551537

Radu

Hey Chiel de Nooyer,

Thank you for reaching out to the WPML support!

Usually, this kind of issue is resolved by simply using the Store a language cookie to support language filtering for AJAX option from Dashboard → WPML → Languages → Language filtering for AJAX operations. Can you tell me if anything changes while using this option, please?

As I can see, the theme that you're using (Anneliese) is not a part of the WPML compatible themes list (https://wpml.org/documentation/theme-compatibility/). This means that some compatibility issues might still be between this and WPML.

I also checked the description of the theme and I could see that it doesn't mention anything about compatibility with multi-language plugins or even translation. In this case, you can try to reach out to the theme authors and ask them to apply for the Go Global program here https://wpml.org/documentation/theme-compatibility/go-global-program/. This way, they will work with our team to make sure that everything works fine between the theme and WPML.

Thanks,
Radu

March 4, 2020 at 2:15 pm #5617691

m.a.d

Yes i had activated the option 'Store a language cookie to support language filtering for AJAX'.
Unfortunately no success.

The theme author is not responding to me.

Isn't there a simple way to make the language URL's ignore the cached AJAX data, and completely reload the website when clicked?

March 5, 2020 at 10:35 am #5624267

Radu

Hey Chiel de Nooyer,

I'm sorry but WPML cannot change the way that the theme handles the menu. This is a part of the website that's created by the theme you are using and changing how this is working can only be changed from the theme side.

In this case, I think that the only option is to use the theme option for disabling AJAX. If the theme author is responding back and asks for any change from our side, we are here to help. As I mentioned in my previous message, our compatibility team is ready to work with the theme authors to make sure that everything works very well between WPML and the theme that you're using.

Thanks,
Radu