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.

Tagged: ,

This topic contains 0 replies, has 0 voices.

Last updated by jean-francoisS-2 2 days, 5 hours ago.

Assisted by: Itamar.

Author Posts
January 7, 2025 at 8:48 pm #16571408

jean-francoisS-2

Background of the issue:
I am trying to manage my bilingual website, which is native in French with English as the second language. Recently, our client noticed that the page hidden link is behaving strangely. I checked the links for the list, month, and prev/next events, and they all redirect to /(/?:month|mois), which seems related to how the translation is handled for the events calendar. Additionally, translations are not working when I try to translate them in the WPML section of the website admin. I have verified the plugin's code, and the translations appear correct, so there might be an incompatibility with WPML.

Symptoms:
The links for list, month, and prev/next events redirect incorrectly to /(/?:month|mois). Translations are not working in the WPML section, and French translations are shown in English.

Questions:
Why are the event links redirecting incorrectly?
Why are translations not working in the WPML section?

January 7, 2025 at 10:00 pm #16571494

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

The Events Calendar plugin by Modern Tribe, Inc. is officially compatible with WPML. However, there are a few known issues. You can see all the known issues here.

https://wpml.org/documentation/plugins-compatibility/build-multilingual-events-websites-events-calendar-wpml/#known-issues

The first issue you mentioned (/(/?:month|mois)) has a workaround. Please read the errata page at the following link and apply the workaround.

https://wpml.org/errata/the-events-calendar-incorrect-link-format-with-custom-slug-translations/

I'm not entirely sure, but the second issue you mentioned can be seen on the following errata page, which also includes a workaround.

https://wpml.org/errata/the-events-calendar-recurring-event-instances-link-to-first-occurrence/

If not, please see if any other known issues relate to your case.

Please let me know how it goes.

Regards,
Itamar.

January 8, 2025 at 1:18 pm #16573582

jean-francoisS-2

Hi,

Thanks for the quick response.

I have already tried the fix of this link https://wpml.org/errata/the-events-calendar-incorrect-link-format-with-custom-slug-translations/, but it keeps happening.

The thing I don't understand, it was perfectly working a month ago, but now the translations are not registering only on the part where The Events Calendar is shown (the events page in our case).

For the second point, our post type is already at translatable.

If you need any other information, let me know.

FYI : Here's a working example (with wayback machine) : hidden link. I also notice the slug being evenements in english, and not events on some case with our new bug (see hidden link), which is incorrect, event though we have changed it in the admin section.

Thanks.

Screenshot 2025-01-08 at 08.25.48.png
January 9, 2025 at 11:38 am #16577384

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I can see that the first problem persists on your site. Please see the attached screenshot. There seems to be a variation of this problem because after clicking 'Month' the link turns like this:

hidden link?:list|liste)/

About the second problem, you wrote: "For the second point, our post type is already at translatable."

It is unclear to me.
Have you also added the code from the errata to the functions.php file of your theme?

Please answer my questions.

If you need further help with this, please share the access details for your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

2025-01-09_13-19-54.jpg
January 9, 2025 at 8:16 pm #16579772

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for the access details.

However, your staging site does not load on my side. I waited for 5 minutes, and it was not loading. Please see the attached screenshot. Please correct this issue and let me know once it is ready.

Please note that my weekend is Friday-Saturday, and I'll be able to continue to check this issue and help you on Sunday.

Regards,
Itamar.

2025-01-09_22-12-52.jpg
January 9, 2025 at 8:22 pm #16579809

jean-francoisS-2

It should be good now, the staging was password protected.

If it doesn't load, please try in private navigation.

Else, I will try something else.

Thank you.

January 9, 2025 at 8:46 pm #16579843

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I can see that the staging site loads now. However, you marked this ticket as resolved.
Was it by mistake?
If so, you should have the option to open it again.

Regards,
Itamar.

January 9, 2025 at 9:21 pm #16579914

jean-francoisS-2

Yes sorry.

January 12, 2025 at 3:11 pm #16585928

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I'm going to need the access details for your site again. This is because once a ticket is marked as resolved, our system automatically removes the access details from the private messages.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

January 15, 2025 at 2:25 pm #16597694

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for the access details.

I tried many things on your staging site. To investigate those problems, I moved the site into a minimum environment. I switched the theme to a default WordPress theme and deactivated all the plugins except WPML, Strings Translation, and the Events Calendar + Pro plugins. Unfortunately, most of the problems you mentioned continue. However, I was able to find the workaround for the strings issue. Please see the attached screenshot. The workaround is explained in this errata page.

https://wpml.org/errata/wp-6-7-translations-not-loaded-for-the-events-calendar-plugin/

I suggest you also apply it to your production site.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

To continue, I need to esclate this issue to our second-tier supporters. So please allow me to take a copy of your site. I must install a plugin like Duplicator or All In One Migration for this. Please let me know if you agree.

Regards,
Itamar.

2025-01-15_16-17-38.jpg
January 15, 2025 at 11:07 pm #16599420

jean-francoisS-2

Yes you can escalate further 🙂

January 16, 2025 at 9:00 pm #16603906

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Thanks.

I've escalated this issue to our second-tier supporters. I'll update you here once I have news about this issue.

Regards,
Itamar.

January 23, 2025 at 5:59 pm #16629391

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter has found a solution to this problem. You can see it is fixed on the staging site. In addition to applying the workaround from the errata pages, you should also do the following.

1. Go to WPML -> Strings Translation, scroll down, and click the Translate texts in admin screens » link.

2. In the Admin Texts Translation section, search for "evenement" (and "evenements"). Please see the attached screenshot.

3. Select those strings and move them to Strings Translation.

4. Translate them into English in Strings Translation. Please see the attached screenshot.

Please let me know how it goes.

Regards,
Itamar.

2025-01-23_19-54-23.jpg
2025-01-23_19-57-55.jpg
January 27, 2025 at 2:25 pm #16638354

jean-francoisS-2

Thank you!! This work for me 😀