Skip Navigation

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

Problem:
You are experiencing an issue where many string translations have disappeared from your site. This problem occurred without any updates being made initially, but persisted even after updating and scanning for new translations.
Solution:
First, ensure that you update WooCommerce and WPML to the latest versions as a recent issue with WordPress 6.7 could be affecting your translations. You can learn more about this specific issue here: WPML Errata.
Next, go to WPML > Theme and plugins localization and select the option to 'Automatically load the theme's .mo file using

load_textdomain

'. This adjustment has resolved the issue for other clients experiencing similar problems.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket.

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.

Tagged: 

This topic contains 0 replies, has 1 voice.

Last updated by ziga pipan 6 days, 17 hours ago.

Assisted by: Dražen Duvnjak.

Author Posts
November 18, 2024 at 5:21 pm #16416139

ziga pipan

Background of the issue:
I am trying to resolve an issue where lots of string translations disappeared on my site hidden link. I did not update anything when the issue started, and it was working fine a while ago. I have updated everything now, scanned plugins and strings for new translations, and tried to translate texts in admin screens, but nothing worked.

In the backend everything seems to be fine
hidden link

Symptoms:
Lots of string translations disappeared on my site.

Questions:
Why did the string translations disappear on my site?
What steps can I take to restore the missing translations?

November 18, 2024 at 10:47 pm #16416889

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

WordPress 6.7 has introduced a new issue that impacts translations, please update WooCommerce and WPML to the latest versions.

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

November 18, 2024 at 11:05 pm #16416995

ziga pipan

Like I said in my first post, I have updated everything, scanned plugins and strings for new translations, and tried to translate texts in admin screens, but nothing worked.

WordPress is on 6.7, wpml is also at it's latest version
hidden link

November 19, 2024 at 9:06 am #16418211

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hi,

please share the access details of your website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 

- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.



Thanks,
Drazen

November 19, 2024 at 10:47 am #16418897

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

thanks.

Let me know if it is okay to disable plugins and switch themes to debug further the issue.

Also if possible please provide FTP also in the fields above, so I can check for any errors and missing translation files.

Regards,
Drazen

November 19, 2024 at 11:48 am #16419238

ziga pipan

Yes, you can disable plugins. Please enable private message for ftp.

November 19, 2024 at 12:00 pm #16419343

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

private reply enabled.

Regards,
Drazen

November 19, 2024 at 12:56 pm #16419723

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

thanks, I managed to solve it.

I have added your theme, and Xstore plugin to next option WPML > Theme and plugins localization > Automatically load the theme's .mo file using 'load_textdomain'

Seems to work fine and the translation is loaded.

Regards,
Drazen

November 19, 2024 at 1:16 pm #16419801

ziga pipan

Seems to work yes, thank you!
I have multiple sites using wpml and xstore theme. Should I do this for all of them?

November 19, 2024 at 1:36 pm #16419933

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

if the same issue happens on other websites, then sure you can proceed to apply the same fix.

Regards,
Drazen

November 19, 2024 at 1:42 pm #16419998

ziga pipan

nice, thank you!

November 19, 2024 at 1:58 pm #16420121

ziga pipan

thank you, great work!