[Waiting for user confirmation] Issues on updating to WPML 4.6.14
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/
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?
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?
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?
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?
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.
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.