Home›Support›English Support›[Resolved] WPML and Yoast: Translated Homepage Title and Meta Description Not Displaying Correctly in Secondary...
[Resolved] WPML and Yoast: Translated Homepage Title and Meta Description Not Displaying Correctly in Secondary...
This thread is resolved. Here is a description of the problem and solution.
Problem:
You are setting up a multilingual website using WPML and Yoast, with the front page set to 'Latest posts' under Reading settings. You have configured the SEO title and meta description for the homepage in Yoast and translated these strings via WPML String Translation. However, the translated German version of the SEO title and meta description is not displayed on the German-language front page; instead, the English version appears.
Solution:
We recommend activating the WPML SEO plugin after ensuring you have a full site backup. This action should help in displaying the translated SEO titles and meta descriptions correctly on your multilingual site.
For more details on setting up and troubleshooting, please refer to the following documentation:
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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. Additionally, if you need further assistance, please open a new support ticket at WPML Support Forum.
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 set up a multilingual website using WPML and Yoast, with the front page set to 'Latest posts' under Reading. I have configured the SEO title and meta description for the homepage under Yoast -> Settings -> Content types -> Homepage and in the Search Appearance section. Then, I translated the following strings via WPML String Translation: admin_texts_wpseo_titles [wpseo_titles]metadesc-home-wpseo, admin_texts_wpseo_titles [wpseo_titles]title-home-wpseo. Link to a page where the issue can be seen: hidden link
Symptoms:
The translated German (DE) version of the SEO title and meta description is not displayed in the section of the DE-language front page when logged in. Instead, the English version still appears.
Questions:
Why is the translated SEO title and meta description not displaying on the DE front page?
How can I ensure the translated strings appear correctly in the section?
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Please visit WPML>>String Translation after a site backup and enable the *Look for strings while pages are rendered* option of *Auto register strings for translation* section(on the bottom of the screen).
Then visit the frontend pages and check whether the issue exists or not. This option will be disabled in a couple of hours automatically. But will help us to track the issue in similar cases.
String translation. Enable Strings for translate.
Visit the page to see if problem still is there.
Problem is still there.
I tried also to delete the two strings, visit the frontpage to let the deleted strings be added via render again.
After strings deleted and frontpage visit, they come back. I translate them again, and then check if it works. I still experience that it's not working.
Thank you for the updates. Please try the following troubleshooting steps after a full site backup{mandatory} and make sure the issue exists or not.
1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)
2) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files
Thank you for the updates. One request. We have released a new version of WPML String Translation (3.2.16). It has included the fixes for similar issues. So please upgrade to the latest version after a full site backup and clear all types of caches. Then make sure the bug exists or not.
You may have to visit the Plugins>>Add New>> Commercial tab and click on the *Check for updates* button to get the WPML automatic upgrade links for the latest version. This step will help us refresh the installer caches.
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files
Thank you for the updates. Please activate the WPML SEO plugin after a full site backup and make sure the issue exists or not. Refer to the following docs for more details.