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 12 replies, has 1 voice.

Last updated by dannyP-13 1 week, 3 days ago.

Assisted by: Otto.

Author Posts
April 19, 2025 at 6:35 pm #16949197

dannyP-13

Background of the issue:
I have installed a plugin called 'Events Schedule WP', which is certified for WPML. The calendar or date carousels are using a shortcode.

Symptoms:
The translation of the shortcode works only after a refresh of the page or another click onto the language switcher.

Questions:
Why does the translation of the shortcode only work after refreshing the page?
How can I make the shortcode translation work without needing a page refresh?

April 21, 2025 at 8:45 pm #16952710

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

If possible, please share with us the URL of the page where we can find the button and reproduce the issue.

In the meantime I'd also recommend testing with this plugin temporarily deactivated:
Cache Warmer

Let us know your results, please.

April 22, 2025 at 8:30 am #16953619

dannyP-13

Hi Bobby!

This is the page with the calendar:
hidden link

I checked to deactive the Cache Warmer.
Unfortunately, this has no effects regarding this problem.

By the way, I just discovered that this problem also exists on another website where it worked fine in the past.

hidden link

Thank you in advance!

Kind regards

Michael

April 23, 2025 at 1:25 pm #16959881

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

This plugin is not in our compatibility list:
https://wpml.org/plugin-functionality/calendar/

They don't claim to be compatible either:
hidden link

However, it doesn't necessarily imply that it is incompatible. Just that our team has not tested it yet.

Let's check first if this may be a compatibility issue with another site's component.

**IMPORTANT:** Please try this in a staging environment or at least with a backup of your site files and database before continuing.
Disable all plugins except WPML-related Events Schedule WP and temporarily change the theme to a default WordPress such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

Best Regards,
Otto

April 24, 2025 at 9:01 am #16963308

dannyP-13

Hello!

I just deactivated in a staging environment all plugins except WPML-related and Events Schedule and switched to a standard WP theme. The error still persists.

Events Schedule support wrote to me that I shouldn't translate the (German) selection underlying the shortcode, but should copy it and then select the English dates. That's exactly what I did.

I copied the events (in German). Then I switched to English in the backend and selected the lessons translated into English by WPML.

That seems to be working – otherwise, they wouldn't be displayed when I refresh the page.

Kind regards

Michael

April 24, 2025 at 2:04 pm #16964823

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi Michael,

Thanks.

To be able to investigate the problem, we need to replicate the issue on a clean installation.

I created a fresh WordPress site with WPML and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
hidden link

Kindly follow the steps below:

- Don't restore your site there.
- Install Events Scheduler
- Try to replicate the issue with minimal steps.
- Then let me know the steps to see the problem and reproduce it.

Best Regards,
Otto

April 24, 2025 at 6:25 pm #16965822

dannyP-13

Hi Otto!

I installed the Events Schedular, and I've set up a few demo appointments. WPML didn't transfer the appointments during translation. Of course, without an appointment in the German translation, no appointment is displayed (in German).

I'm not really familiar with Gutenberg, as I work 100% with Elementor.

Could you help me set up WPML correctly so that the classes are transferred correctly from English to German? Once that's done, I can continue.

Thank you for your support! 🙂

April 24, 2025 at 7:05 pm #16965941

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

The classes were throwing a fatal error, not sure why.

I deleted the translations and created new ones using the "duplicate" option of WPML:
https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/

As far as I can see, they are working now.

Best Regards,
Otto

April 24, 2025 at 8:49 pm #16966322

dannyP-13

Hi Otto,

thank for the fast answer and your work!

I still can see the error message - which is due to the Schedule plugin, I think. After deactivating it, there was no error anymore.

Having a look on the funcionality of switching the language on the calendar page - everyhting's looks fine.

If only it were the same on both of my websites, where I have WPML and the Calendar plugin installed.

To be honest: I'm really not experienced in setting up and configuring WPML. I simply don't do it often enough. This is currently my second job in this regard.

Would it be rude to ask you to take a look at both websites? It might simply be a problem with the settings I've configured.

Thank you and kind regards

Michael

April 24, 2025 at 8:53 pm #16966324

dannyP-13

What I forgot to mention is that when I had the two websites in question translated with WPML, I could only request a translation using the + sign. I didn't need to create a duplicate for that—but maybe that's exactly what's causing the problem.

The WPML duplicate solution also means (if I understand correctly) that I have to translate the text myself, and automatic translation from DeepL, etc., is no longer possible, correct?

April 24, 2025 at 8:56 pm #16966342

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Sure, I can take a look at your site.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue.
It would be better to a testing site where the issue is replicated.

The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I'll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site.
This will allow me to create a copy of your site and your content.
Once the problem is resolved I will delete the local site.

**IMPORTANT**
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields.

Best Regards,
Otto

April 25, 2025 at 7:17 am #16967072

dannyP-13

Hello Otto!

Thank you for your support and for checking this out! 🙂

We host the site with Raidboxes.io (a WP host in Germany). To give you FTP access, I would need to add you as an admin for this website (they call it a "box" there). I would need your email address for that.

Alternatively, this host also offers a staging environment that you could work in. I could set it up for you and send you the access data.

Which do you prefer?

April 25, 2025 at 1:13 pm #16968742

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

A staging site is the best option, thanks!

Best Regards,
Otto

May 3, 2025 at 3:29 pm #16992046

dannyP-13

I forgot to give you one further info:
Strangely, the problem occurs not, when you are logged in - for sure you can see it in incognito mode.

Thank you.

May 5, 2025 at 4:09 pm #16997288

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

This worked in the staging site:
- Go to Classes > Settings > Advanced (tab)
- Set "Enable Lazy Load" to NO

Can you please give it a try?

Best Regards,
Otto