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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by Dražen 3 days, 7 hours ago.

Assisted by: Dražen.

Author Posts
January 8, 2025 at 1:30 am #16571808

ahmedH-37

Background of the issue:
I am trying to translate strings from the Event Tickets plugin, but the translations do not appear. I do see the strings in the string management and I am able to do the translations there, but they still appear in English while they should appear in French on the page. If I enable the 'Look for strings while pages are rendered' option and check the page, the strings appear translated. I'm pretty sure the issue is the same as this one: https://wpml.org/errata/wp-6-7-translations-not-loaded-for-the-events-calendar-plugin/. But I just don't know in which file to go to replace the coding. Link to a page where the issue can be seen: hidden link

Symptoms:
The translations for the Event Tickets plugin do not appear in French and remain in English unless the 'Look for strings while pages are rendered' option is enabled.

Questions:
How can I ensure the translations appear without enabling 'Look for strings while pages are rendered'?
Which file should I modify to resolve this issue?

January 8, 2025 at 8:30 am #16572325

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for contacting us.

Go to the root folder of your website and follow path for next file using your FTP access or file manager from you hosting / or WordPress plugin.

- wp-content/plugins/the-events-calendar/src/Tribe/I18n.php

then edit the code as in our errata:

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

Let me know it goes and if any other doubts.

Regards,
Drazen

January 8, 2025 at 2:55 pm #16574004

ahmedH-37

Why are you sharing that same exact link I already shared in the ticket? These instructions are for the strings in the event calendar, but the strings I am talking about are from the ticket plgin. As mentionned, I already did those instructions for the strings of the event plugin, now I need instructions for the ticket plugin.

January 8, 2025 at 3:15 pm #16574137

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back, I apologize I did not understand this was another addon plugin.

I have checked and seems Event Tickets is not yet officially compatible with wpml and there could be some issue with it, we have a few bugs reported that are waiting for author collaboration.

The one you mentioned, we would need to reproduce and confirm and then escalate to our team to check further if the same workaround can be applied or if it is another issue.

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons, and themes.

You can access the WordPress dashboard using the link below:

- hidden link

Try to replicate the issue with a simple example page and share steps with me, so I can have further look.

Regards,

Drazen

January 8, 2025 at 9:42 pm #16575467

ahmedH-37

I don't understand how to reproduce the issue there. The necessary plugins (event and ticket) are not installed on that WordPress version.

Can I instead take a video of mine and send it through a link ?

January 8, 2025 at 9:47 pm #16575553

ahmedH-37

Here is a video :

hidden link

January 9, 2025 at 7:48 am #16576220

Dražen
Supporter

Languages: English (English )

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

Hello,

Before doing so, please try the next workaround from our errata:
- https://wpml.org/errata/event-tickets-plus-translated-events-does-not-display-the-tickets/

Keep in mind that if the event already exists, you just need to translate it before translating the ticket. If both are already translated, do a small modification on the original ticket, then update the translation.

If that doesn't not help, please try to install the required plugins and set them up, I do not have them from our side as far as I can tell. Then add a few tickets, translate that one string, and see if it works on the sandbox website. Let me know if that is possible.

Regards,
Drazen