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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
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 0 replies, has 1 voice.

Last updated by Andreas W. 2 days, 15 hours 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.