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

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 3 replies, has 0 voices.

Last updated by Andreas W. 3 days, 8 hours ago.

Assisted by: Andreas W..

Author Posts
February 7, 2025 at 3:16 pm #16680406

cliffA

Background of the issue:
I am trying to translate text on a website from English to French. Specifically, on the Events Calendar Page, there is text at the bottom of the calendar that says: Blue = OCO Event. This issue is discussed in the forum topic: https://wpml.org/forums/topic/string-translations-are-not-working-3/. The issue can be seen on this page: hidden link.

Symptoms:
String translations are not working as expected. When 'Look for strings while pages are rendered' is selected, the translation works, but it reverts back to English after the time expires or when the option is disabled.

Questions:
Why do the translations revert back to English after the time expires?
How can I ensure the translations remain in French without enabling 'Look for strings while pages are rendered'?

February 7, 2025 at 11:46 pm #16681483

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

This might not be a WPML issue, but an issue about the theme or a specific plugin.

The latest major release of WordPress changed the way how text domains are being loaded and it might be that your theme or one of your plugins had not yet been adapted to this change.

Please enable WP DEBUG and revise if you find an error similar to the one in this errata:
https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

How to enable WP DEBUG:
https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/

If you need assistance with this, please let me know.

Best regards
Andreas

February 8, 2025 at 1:46 am #16681578

cliffA

Yes, I am seeing this error in the WP_DEBUG logs for:

Translation loading for the

event-tickets

domain was triggered too early.
Translation loading for the

relevanssi

domain was triggered too early.
Translation loading for the

the-events-calendar

domain was triggered too early.
Translation loading for the

gravityforms

domain was triggered too early.
Translation loading for the

wp-user-manager

domain was triggered too early.

Which all of those plugins including WPML as well as WordPress is the latest version.

February 8, 2025 at 1:57 am #16681582

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Thank you for the detailed information.

Those errors usually mean that those plugins did not yet include the text domains in the way they should be done in WordPress 6.7.

I suggest you reach out to the respective support teams and ask about when an update will be available that will solve this issue.

If any further assistance will be needed from our side, please let us know.