Skip Navigation

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.

Tagged: 

This topic contains 7 replies, has 0 voices.

Last updated by larsS-15 1 week ago.

Assisted by: Bigul.

Author Posts
November 28, 2024 at 4:16 pm #16456325

larsS-15

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?

November 28, 2024 at 5:39 pm #16456604

Bigul
Supporter

Languages: English (English )

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

Hello,

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.

Refer to this article for more details - https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

--
Thanks!

Bigul

November 29, 2024 at 12:37 pm #16459547

larsS-15

Hello Bigul.

Thanks for prompt response 🙂

I tried the following:

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.

What could be next step?

November 29, 2024 at 4:52 pm #16460770

Bigul
Supporter

Languages: English (English )

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

Hello,

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

--
Thanks!

Bigul

December 2, 2024 at 5:00 pm #16467721

larsS-15

Hello Bigul.

Thanks for response.

I did the 1 and 2, but issue still there.

What could be next step?

Br. Lars.

December 3, 2024 at 7:49 am #16469707

Bigul
Supporter

Languages: English (English )

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

Hi Lars,

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.

--
Thanks!

Bigul

December 3, 2024 at 11:56 am #16471406

larsS-15

Hello Bigul.

I did the update, I cleared caches and did this:

- 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

+ clear cache normal.

I still got the issues.

Br. Lars.

December 3, 2024 at 6:17 pm #16473362

Bigul
Supporter

Languages: English (English )

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

Hi Lars,

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.

https://wpml.org/documentation/related-projects/wpml-seo/

https://wpml.org/download/yoast-seo-multilingual/?section=changelog
--
Thanks!

Bigul

December 3, 2024 at 9:49 pm #16473873

larsS-15

Thanks! I totally did not realise debugging. I appricate the fast response and help 👌👌👌👌👌