Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with strings not translating unless the 'AUTO REGISTER STRINGS FOR TRANSLATION' is enabled. When this option is disabled, the strings do not translate.
Solution:
The issue stems from the Give Plugin not loading its text domain correctly, which prevents WPML from translating the strings. This problem is due to changes in how text domains are loaded in the latest major WordPress release. We recommend contacting the Give Support Team to inquire if they are aware of this issue and to check if an update is planned to resolve it.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket with us at WPML support forum.

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.

This topic contains 0 replies, has 1 voice.

Last updated by Andreas W. 2 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
March 13, 2025 at 1:00 pm

ziga pipan

Background of the issue:
My strings are not translating here
hidden link

All is translated ok
hidden link

Problem is, if I enable AUTO REGISTER STRINGS FOR TRANSLATION it works ok.
hidden link
hidden link

But I can't have this enabled constantly?

Symptoms:
Strings are not translating when AUTO REGISTER STRINGS FOR TRANSLATION is disabled.

Questions:
Why do my strings not translate when AUTO REGISTER STRINGS FOR TRANSLATION is disabled?
Is there a way to translate strings without having AUTO REGISTER STRINGS FOR TRANSLATION enabled constantly?

March 13, 2025 at 2:11 pm
March 14, 2025 at 9:41 am #16815522

Andreas W.
Supporter

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

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

Hello,

Could you please enable WP DEBUG and check if you get any errors like this one?

https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

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

Best regards
Andreas

March 21, 2025 at 5:16 pm #16845926

ziga pipan

Yes, I get this

hidden link

I updated wpml and WordPress is already on 6.7.2.

strings are still in english.

March 21, 2025 at 5:33 pm #16846054

Andreas W.
Supporter

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

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

In this case it is the following errror:

PHP Notice: Funkcija _load_textdomain_just_in_time je bila klicana nepravilno. Translation loading for the give domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later.

This error explains that the Give Plugin is not loading its text domain correctly and this is why WPML can not translate those strings. The way trext domains are loaded changed in the last major release of WordPress.

Please reach out to the Give Support Team and ask them if they are aware of this issue or if there are already plans for an update to solve the issue.