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 7 replies, has 0 voices.

Last updated by Carlos Rojas 2 days, 2 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.

January 15, 2025 at 3:46 pm #16598042

SimunV

Ok I am trying to do this --> hidden link and I cannot see chauffer plugin. I upload this files to plugin folder languages but there is no change

Do I need add plugin to strings --> hidden link ?
Kind regards

January 16, 2025 at 10:00 am #16600982

Carlos Rojas
Supporter

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

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

Hi,

Now you just need to go to WPML -> Theme and plugins localization (your last screenshot) -> Select the plugin and scan it for strings. Then the available strings will appear in WPML -> String Translation

January 22, 2025 at 9:31 pm #16625135

SimunV

I am really strugling with translation of this page.
This is how author suggest that we should do to translate plugin: hidden link
I use wpml for better doing but I am not sure if now wpml is my problem. When I translate this booking forms in chauffer booking plugin it does not recognize po files so for example if I translate home page on other language plugin cannot use english booking form for croatian language. So I need translate booking form... I do it by overwriting it with english and getting new problems. Booking form is consistent of cars, extra things, routes so I translate and that and its fine. But last thing that booking form using is pricing rules but they are not translatable by wpml so it looks I need create all new 6 pricing rules for every language
So wondering whould it be better to translate it without wpml or there is a way for translate this thing.

January 23, 2025 at 8:18 am #16626016

Carlos Rojas
Supporter

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

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

Hi,

1.- I would like to closely examine the site configuration. I have set your next message private so you can securely share the access credentials to the site.

Please confirm you created a full site backup before sharing the credentials you can use to restore the site if necessary.

2.- Describe step-by-step how to edit the form in the original language. You can share a link to a screencast describing these steps. This will help me understand this issue better.