[Resolved] There are parts of my Home Page that are not translated
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to ensure that your French homepage is fully translated. Previously, the entire page was translated, but now some parts have reverted back to English, even though they appear to be translated in the string translations. Solution: 1. Check if the issue occurred after updating to WordPress 6.7. If so, consider reading the following errata: Missing translations on front-end. 2. As a possible workaround, you might want to downgrade WordPress to its prior version on your staging site to see if this resolves the issue. 3. Ensure that your browser settings do not block important language cookies used by WPML, as some browsers like Thor might cause issues. Use a standard browser like Google Chrome to check the translations. 4. Verify that the string for the top banner is assigned correctly. The default language should be English, and then it should be translated to French. For guidance on how to change the source language of strings, visit: How to change the source language of strings.
If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I am trying to ensure that my French home page on hidden link is fully translated. At one time, the entire page was translated, but now some parts have reverted back to English. These parts appear to be translated in the string translations.
Symptoms:
Parts of the French home page are not translated, even though they were previously translated.
Questions:
Why did some parts of my French home page revert back to English?
How do I translate the parts of my home page that are not currently translated?
I will try to answer the question before assigning the ticket to one of my colleagues.
Would you please follow the steps below?
- 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 "Show custom MO Files Pre-generation dialog box" button.
- After that, a pop up will show. Click the blue button and wait for the process to finish.
Hello,
So I migrated my entire site to a staging site in wordpress.com. Then I linked the new site to WPML account and added "pay as you go" translations. I cleared all caches on the staging site and performed the above mentioned trouble shooting procedure. Nothing changed as far as the mixed translation on my French language home page goes. It is still showing both English and French. I cleared both caches again and still the problem persists.
Hello Andreas,
So, I contacted wordpress.com support to ask them how I should downgrade. This is their response:
"Please reply to them that you won't be able to downgrade to the latest version of WordPress and they should double check the patch since it does not seem to be fixing the issue on your side."
Because my Staging site is only a few days old, I can not revert back using Jetpack to a previous version (before the update on November 12). This is what WordPress said about reverting back with Jetpack:
"Even if you revert the site with the Jetpack backup, it will only revert the content and plugins, not the core version of WordPress."
I then asked them when the update for the next version will be released and they said: "I can see it's in the works already. Based on the release history, the first update is released within a week or two: https://wordpress.org/download/releases/
Since 6.7 was released last week, the update might be released next week."
So, what I want from you, because I am not a technical expert, not even a developer, is for you to look at https://core.trac.wordpress.org/ticket/62337, and tell me if you can see from the code generated by my site, if what they are talking about in this ticket, is indeed happening on my site.
If it is not, lets investigate what is happening on my site.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hi,
I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.
The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up the site and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private reply form looks like this: hidden link
The next time you reply, click on "I still need assistance".
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.
Hello Again Andreas,
Just so you know, I had a similar problem, but only with the header, when I first installed wpml. If you can see my old support tickets you will see the discussion there. We never really figured out what was going on......
I look forward to hearing from you,
Bonnie
Hi Andreas,
The problem is not fixed and seems to have reverted. After I read your message, I went to check, and it looked good, except the string translations for the top bar (where is the shipping information) The top bar strings were still not translated. I went to check them in the string translations and they are un-editable (see screenshot 354). I looked again at the French site and saw that ALL the faulty English language text was back. After that, I clear the wordpress caches. Then using my Tor browser, which I have never used before to view the site, I looked at the site and I still got the mixed languages (see screenshot 355).
I checked the translation home and the translations are there but when I click on the finalize translation everything stays the same in English (see screenshot 356)
Sorry, screenshot 352 is not relevant and I uploaded it by mistake.
What are you seeing? Are you seeing a French site with all the translations including the top bar?
Hi Andreas,
Okay, I really do not know what is going on. Everything was still in mixed languages on the homepage. I went back to translation management to see if I could fiddle around and get it working. I went through to the review the translation page and clicked some blocks of translated text to approve them and voila, the whole page, except the top bar, translated when I saved the translations....bizarre...
Can you help me with the top bar please.
Thank you, Bonnie
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I can not confirm any issue viewing the French Homepage in a browser like Google Chrome.
Browsers like Thor can not be used as reference, as they might block important language cookies used by WPML to determine the language of the page when not beeing logged in as a user.
The string for the top banner is assigned to the default language French. You need to adjust it to have the default language English and then translate it to French.