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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

Tagged: ,

This topic contains 4 replies, has 3 voices.

Last updated by haraldC-2 13 hours, 48 minutes ago.

Assisted by: Andrey.

Author Posts
November 16, 2024 at 12:54 am #16410024

haraldC-2

Background of the issue:
I updated WordPress to 6.7 without updating WPML first. Now, after updating WPML to 4.6.14, some user interface texts from other themes and plugins appear untranslated in the WordPress admin when viewed in a different language, such as German. I followed the update process by logging into the WordPress admin dashboard, going to Plugins → Add New, clicking the Commercial tab, checking for updates, selecting WPML components with new versions available, and clicking the Download button. However, there was no change in the translation.

Symptoms:
A lot of items are in English where they should be in German, and order emails now appear in English.

Questions:
Is there a workaround for the translation issues after updating WPML?
How can I fix the untranslated user interface texts in the WordPress admin?

November 17, 2024 at 7:36 am #16411415

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I will try to answer the question before assigning the ticket to one of my colleagues.

First we need to know if there is any common theme that can be found on the strings that are not translated on Dashboard?

Are those texts part of a specific plugin or theme, or is it happening on multiple plugins and themes?

And by "some user interface texts" are you talking about the WordPress Dashboard or the front end of the website?

For now, I suggest that you do as follows:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > WPML > Support > Troubleshooting (link)".
- Click the buttons annotated in the screenshot below one by one and wait for each button process to finish:
https://wpml.org/wp-content/uploads/2020/10/7206941-buttons.png

Also please go to WordPress Dashboard > WPML > String Translation and enable the "Auto Register" options and see if it fixes the issue there?

Thanks.

November 18, 2024 at 10:45 am #16414180

haraldC-2

Thank you very much for your help!

The parts now not translated are parts in the Backenend - WordPress, Woocommerce
at most. Somehow random - some german translated some not.

Now, I applied what you said (with a staging site) and there was a change when I used what you said here:
####
Also please go to WordPress Dashboard > WPML > String Translation and enable the "Auto Register" options and see if it fixes the issue there?
####
The issue resolved here, but when I disable the Auto Register I get the Issues again.
What would be the next step here?

Thank you
Harald Claus

November 18, 2024 at 4:01 pm #16415738

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

If you go to WPML → Theme and Plugins Localization, and deactivate the option "Automatically load the theme's .mo file using 'load_textdomain'." , does this solve the problem?

November 18, 2024 at 6:58 pm #16416395

haraldC-2

Hello Andrey,

thanks for your help. After doing the above, the issue is partly solved. In the Backend now I can see more in german - but i.E. on the Orders overview "status" is correct and
"shipping status" is still in english. I am still on the staging site - not the production site.

November 19, 2024 at 3:10 pm #16420339

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

In the Backend now I can see more in german - but i.E. on the Orders overview "status" is correct and
"shipping status" is still in english. I am still on the staging site - not the production site.

Could you please show me this?

I need to request temporary access to your site, specifically wp-admin and FTP. It would be ideal to have access to a test site where the issue has been replicated. This will help me assist you more effectively. You will find the necessary fields below the comment area when you log in to respond. The information you provide will be private, meaning only you and I can view and access it.

If we need to debug the issue further, I would like to discuss the possibility of replicating your site locally. To do this, I'll need to temporarily install a plugin such as "Duplicator" or "All In One Migration" on your site. This will allow me to create a copy of your site and its content. If you prefer to handle this independently, you can make the snapshot and send me the downloaded zipped package.

Please let me know your thoughts on this.

November 21, 2024 at 4:36 pm #16430315

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for providing your details.

Could you please check the staging environment? I have applied a fix that will be included in the next release.

Essentially, you can take the LoadTextDomain.php file from your staging directory located at wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php and replace the corresponding file on the original site.

Please remember to back up your database before proceeding.

November 21, 2024 at 11:11 pm #16431307

haraldC-2

Dear Andrey,

thank you very much for the handling. I think the main areas are handled. There is the menue on the left side where it says appearance. Usually in german this is the "customizer" - so there is still a little issue. But the orders and this stuff now is back to german. I just want to wait for another order (and the Mail of the order) and if this is also now in german - we end off here. If it is in English I do need your assistance again.

Thanks for now,

Harald Claus