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
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

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

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Carlos Rojas 1 day, 8 hours ago.

Assisted by: Carlos Rojas.

Author Posts
January 8, 2025 at 9:59 am #16572667

SimunV

Background of the issue:
I am using the chauffeur booking system plugin to translate the whole page into Croatian and English. I created chauffeur-booking-system-hr_HR po files but cannot see any changes. The issue can be seen at hidden link.

Symptoms:
After enabling debug mode, I received the following error: 'Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the chauffeur-booking-system 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/airportsplit/test.airport-split-transfers.com/wp/wp-includes/functions.php on line 6114.'

Questions:
Why can't I see the translated .mo files for the chauffeur booking system plugin?
How can I resolve the error related to _load_textdomain_just_in_time being called incorrectly?

January 8, 2025 at 11:35 am #16573038

Carlos Rojas
Supporter

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

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

Hello,
Thank you for contacting us

1.- This is a known issue caused by the latest version of the WordPress core, not the WPML plugins. You can read more about it in this errata page: https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos

January 8, 2025 at 7:29 pm #16575172

SimunV

Ok can we return on first problem. I am still geting error -->hidden link

My problem is that I upload .mo files to plugin chauffer booking system and by the autor it should translate strings but it does not. I dont see strings in wpml string translation so wondering do you have some reccomended situation. Kind regards

January 9, 2025 at 10:20 am #16576992

Carlos Rojas
Supporter

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

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

Hi there,

Please follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/string-translation/#import-export-po-files to import .PO files using String Translation.