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?
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.
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.
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.