Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue with The Events Calendar plugin where the language changes unexpectedly when navigating or clicking on the month view, even without interacting with the language dropdown. Additionally, each event sometimes displays in a random language.
Solution:
It's due to the caching by the hosting provider. We recommend asking the hosting provider to exclude the domain from the cache, specifically for the calendar functionality and it fixes the issue.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 24 replies, has 1 voice.

Last updated by brianP-18 3 months, 1 week ago.

Assisted by: Kor.

Author Posts
January 12, 2026 at 5:38 pm #17722807

brianP-18

HI Kor,

Thank you, as per the video and the staging site it seems that the fix it's working. Please go ahead and apply the same fixes to PRD. I just made a back up so you should be good to go.

Thank you

January 13, 2026 at 6:55 am #17723603

Kor

Thanks for your reply. It's done and could you please check?

January 13, 2026 at 6:11 pm #17727020

brianP-18

Hi Kor,

We couldn't replicate the issue anymore which is great. Thank you so much.

I just have a couple questions. Would future plugin updates affect this fix?

Is there something I should be aware of on the files, I would not want to change something and this issue start happening again.

When we have translations for the events can we just upload them manually?

and last but not lease can we move the credits we have on staging to PRD?

Thank you so much again for all the help. You have been great!

January 14, 2026 at 6:09 am #17727810

Kor

Thanks for your reply. I'll try to answer your questions accordingly.

1. Would future plugin updates affect this fix?
No, it will not.

2. Is there something I should be aware of on the files, I would not want to change something and this issue start happening again.
I've commented some code in the wp-config.php and you can check on it.

3. When we have translations for the events can we just upload them manually?
You can use the import method as explained here https://wpml.org/documentation/related-projects/wpml-export-and-import/

4. We move the credits we have on staging to PRD?
I can only move 7566 credits to your Production site. May I proceed?

January 14, 2026 at 8:42 pm #17731273

brianP-18

Hi Kor,

Thank you so much, Yes please proceed.

January 15, 2026 at 12:49 am #17731527

Kor

Thanks for your patience. I've transferred 7566 credits from hidden link to hidden link. Feel free to open a new ticket/chat if you need anything further.

January 15, 2026 at 5:00 pm #17734883

brianP-18

Thank you so much.

January 15, 2026 at 5:44 pm #17734987

brianP-18

Hi Kor,

We found a major issue with the commented code in the config file. The Admin for the site is giving a critical error and it's not letting us login through WPE Admin dashboard. I talked to WPE support and they said this was happening because of the commented out code in this file.

This is what I see when trying to login to the admin dashboard (please see image attached). Is there a way we can just comment out what it's really creating the random switch issue and leave everything else as is?

Please let me know any suggestions. I don't want to create the random language change issue again since we are about to launch the events.

Thank you so much.

Screenshot 2026-01-14 at 3.01.56 PM.png
January 15, 2026 at 5:48 pm #17735003

Kor

Thanks for your reply. Are you able exclude this domain hidden link from the WPEngine cache? It looks like to me the cache is causing issues with the calendar, and disabling the cache feature seems to fix it. Let me know if you want me to restore the code so that you can reconfigure WPEngine to exclude cache on the calendar site.

January 22, 2026 at 9:35 pm #17755548

brianP-18

Hi Kor,

I am talking to WPE engine to see if this is possible. I'll reach out as soon as I get an answer. I don't want to restore the code just yet since the events are now live.

Thank you

January 23, 2026 at 6:41 am #17755858

Kor

Thanks for your reply. Alright then, please let me know how it goes.

January 27, 2026 at 6:02 pm #17768625

brianP-18

Hi Kor,

WPE was able to disable cache on the site.

Thank you so much.