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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 6 replies, has 1 voice.

Last updated by Prosenjit Barman 22 hours, 7 minutes ago.

Assisted by: Prosenjit Barman.

Author Posts
December 28, 2024 at 3:40 pm #16550231

ahmedH-37

Background of the issue:
I am trying to translate to French the views' names 'list, month, map' and the words 'today, upcoming, previous events, next events, subscribe to calendar' AND MORE. I already tried the instructions in that workaround but they didn't work: https://wpml.org/errata/the-events-calendar-translation-issues-for-certain-strings-with-non-block-themes/

Symptoms:
I do find some strings with those names but they are either not the right strings OR the strings just don't display in their translated forms. Instead, I got: No translation.

Questions:
Why can't I find the strings?
Why are the strings not displaying in their translated forms?

December 29, 2024 at 6:23 am #16550697

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

We hope these strings are showing as translated in WPML>>String Translation, please verify it - https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

If the problem remains, please visit WPML>>String Translation after a site backup and enable the *Look for strings while pages are rendered* option of *Auto register strings for translation* section(on the bottom of the screen). Then visit the frontend pages and check whether the issue exists or not. This option will be disabled automatically in a couple of hours. But it will help us track the issue in similar cases - https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

--
Thanks!

Bigul

January 1, 2025 at 12:06 am #16556507

ahmedH-37

Hey Bigul ! Thanks for the instructions. When activating the ''look for strings while pages are rendered'', I am able to see that the strings are successfully translated, indeed.

As soon as I disable it, though, the translations do not work anymore.

Hopefully this will help us track the issue!

Let me know what the next steps are!

January 1, 2025 at 12:14 am #16556508

ahmedH-37

I forgot to specify, the only thing I did was enable that feature and the translation worked (fields appear translated). That means the strings are already there and I knew that already because I manually added the translation to the strings.

But when I turn off the feature, the translations of those strings simply do not work anymore.

I did try, as mentionned in the instructions, to ''... turn off the feature and refresh the String Translation page... to see the strings available for translation in the table.''

Unfortunately, there are no new strings in the table, but that isn't surprising because the strings were already existing and were translated. Proof of that is when I activated the feature I could see my translations appear on the page in question.

January 1, 2025 at 5:26 am #16556559

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!

I hope you're doing well. I've taken over this ticket and will be happy to assist you further in this matter.

Please note that for most plugins, the translations for static strings are loaded directly from the language files provided by the plugin. For The Events Calendar plugin, the French translation is included in the plugin's translation files. However, due to recent changes in how WordPress core handles text domain loading, the translations were not loading correctly, unless the "Look for strings" feature is enabled in String Translation.

To resolve your issue, you'll need to make a few minor adjustments to The Events Calendar plugin's code so that the text domain can load correctly. Please refer to the Errata below for detailed information.

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

These adjustments should resolve the issue. For your information, we have already notified the author of The Events Calendar plugin and proposed this solution. We hope that a permanent fix for this issue will be included in a future version of The Events Calendar plugin.

Please try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Wishing you a Happy New Year! 🎉

Best regards,
Prosenjit

January 3, 2025 at 9:08 pm #16562587

ahmedH-37

Hi there!

Thank you, these instructions did solve my issue.

Happy to new to you as well!

January 3, 2025 at 10:26 pm #16562632

ahmedH-37

Hi Prosenjit!

I just realized that your workaround did work for the strings of the Events Calendar Plugin.

But, unfortunately, I am having the same issues with strings of the other an other plugin, which is ''Event Tickets''.

I am guessing I should modify the code similarly, but I'm not sure in which file!

January 6, 2025 at 4:26 am #16565038

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
I hope you're doing well! Sorry for the delay in responding due to the weekend.

Thank you for the update. Currently, we are not aware of any similar issues with the Event Tickets plugin, so we need to gather more details to better understand the problem before suggesting a solution.

To ensure clarity and organization, we follow the guideline of addressing one issue per ticket. Since the initial issue reported in this ticket has been resolved, and the issue with Event Tickets could be unrelated, I kindly request you to create a new ticket specifically for the Event Tickets issue mentioned in your last message, including as much as information you can. We’ll be happy to assist you further with that matter.

In the meantime, if you need any additional help with the Events Calendar plugin issue originally reported in this ticket, feel free to let me know—I’ll be glad to assist. Otherwise, please consider marking this thread as resolved.

Best regards,
Prosenjit