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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

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

This topic contains 7 replies, has 0 voices.

Last updated by Marcel 17 hours, 23 minutes ago.

Assisted by: Marcel.

Author Posts
January 17, 2025 at 10:09 am #16605195

davidS-113

Background of the issue:
I am trying to translate strings like 'Organizers' using WPML's string translation, but as you can see here, nothing changes: hidden link

Symptoms:
The Events Calendar string translation is not working.

Questions:
Why are the strings not translating?
How can I fix the string translation issue?

January 17, 2025 at 11:09 am #16605631

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

Which textdomain did you translate exactly? It’s possible that another string is being used but hasn’t been registered yet. I recommend starting by enabling the "auto-register" feature: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Once activated, open the frontend, and WPML will scan for all available getText() calls and attempt to register them for you. After this, check if another "Organizer" string appears under WPML → String Translation.

Let me know how it goes!

Best regards,
Marcel

January 17, 2025 at 11:38 am #16605893

davidS-113

Hi,

I already did that using „Theme and plugins localization“, where I scanned strings in the „The Events Calendar“ plugin (Note: There I have many options to create PO files. Do I have to do this?).

This did not help. For example, I also searched for „Date:“ and translated it into german, but still on the german event page it says „Date:“.

Best,
David

January 17, 2025 at 11:50 am #16605927

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi David,

You don’t need to do that. Have you already checked the "Admin Strings" section at the bottom of the String Translation table? I would recommend using the "auto-register" option. This will scan all content that is viewable on the specific frontend page.

Keep in mind that WPML (and similar plugins) can only translate strings that use gettext() calls. If a string is hardcoded, it cannot be translated. To verify this, you can use the String Locator plugin to search for the specific string in the code. This will help determine whether it’s utilizing a proper gettext() call.

Additionally, this will allow us to see if the text might be coming from another source, such as a backend input field or a variable.

Best regards,
Marcel

January 17, 2025 at 12:36 pm #16606141

davidS-113

Tried that, but this did not work.

Another example: When I search for the string „Upcoming“, I can see that every single string is translated. But on our german events page it still says „Upcoming“.

January 17, 2025 at 12:57 pm #16606179

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

You didn’t clarify which part of my steps isn’t working. Did you check if the string is even using a getText() call? Is the String Locator plugin installed so I can verify that?

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.

You will find the needed fields for this below the comment area when you log in to leave your next reply. 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. Let me know if this is ok with you.

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. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards,
Marcel

January 17, 2025 at 1:40 pm #16606343

davidS-113

I just noted, that I am experiencing the exact same issue as described here in the WPML forum:
https://wpml.org/forums/topic/the-events-calendar-translation-issues-for-certain-strings/

So this fixed it for now:
https://wpml.org/errata/wp-6-7-translations-not-loaded-for-the-events-calendar-plugin/

January 17, 2025 at 2:20 pm #16606545

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

then we need to wait for the authors until they implemented the needed changes.

Best Regards,
Marcel