Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

You are trying to translate the

admin_texts_wpseo_titles

string using WPML, but the translated version does not appear on the translated instance of your site. The meta title and description are displayed in the default language instead of Italian.

Solution:

We recommend activating the WPML SEO plugin after ensuring you have a full site backup. Check if the issue persists after this step. For more details on the WPML SEO plugin, please visit: WPML SEO documentation,
and the changelog for Yoast SEO Multilingual can be found here: Yoast SEO Multilingual changelog.

Please note that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket.

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 2 replies, has 0 voices.

Last updated by andreaP-96 2 months, 4 weeks ago.

Assisted by: Bigul.

Author Posts
November 26, 2024 at 2:28 pm #16445463

andreaP-96

Background of the issue:
I am trying to translate the admin_texts_wpseo_titles string using WPML, but the translated version does not show when on the translated instance. The issue can be seen on this page: hidden link. I also tried the suggestions of this post without success: https://wpml.org/forums/topic/wpml-string-translation-on-wpseo_titles-of-yoast-is-not-showing-correctly-2/

Symptoms:
The meta title and description are displayed in the default language (English) instead of the expected Italian language.

Questions:
Why is the translated version of admin_texts_wpseo_titles not showing?
How can I ensure the meta title and description appear in Italian?

November 26, 2024 at 5:27 pm #16446492

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.

The issue exists, after enabling the * Auto Register* feature, am I correct? - https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

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 terms count
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files

--
Thanks!

Bigul

November 27, 2024 at 10:06 am #16448530

andreaP-96

Hi,
yes the issue exists even after enabling the * Auto Register*.

I also tried your solution and nothing has changed.

November 27, 2024 at 5:00 pm #16451191

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. Please fill in the private details fields after a full site backup. I would like to access the admin area of your site to check further. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

November 28, 2024 at 5:32 pm #16456594

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the login information. Please try the following steps after a full site backup and check if is there any difference in the result.

1) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

2) Upgrade to the latest version of WordPress 6.7.1
3) Clear all types of caches
4) Visit Seetings>>Permalinks, resave the settings

Do you have a staging/dev site, a clone copy of the live site? Because it will help us to troubleshoot the issue without affecting your site.

--
Thanks!

Bigul

December 2, 2024 at 9:19 am #16464771

andreaP-96

Hi Bigul,
I increased the MaxInputVars to 10000.

We are unable to upgrade at 6.7.1 at the moment.

We have created a clone of the website here:

hidden link

You can login with the same credentials.

Moreover, when I go to Settings>>Permalinks, I can't display the page, as the error log report:

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string & int in /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-includes/class-wp-rewrite.php:1036\nStack trace:\n#0 /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-includes/class-wp-rewrite.php(1410): WP_Rewrite->generate_rewrite_rules()\n#1 /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-includes/class-wp-rewrite.php(1509): WP_Rewrite->rewrite_rules()\n#2 /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-includes/class-wp-rewrite.php(1884): WP_Rewrite->refresh_rewrite_rules()\n#3 /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-includes/rewrite.php(282): WP_Rewrite->flush_rules()\n#4 /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-admin/options-permalink.php(212): flush_rewrite_rules()\n#5 {main}\n thrown in /var/www/vhosts/scent-of-sicily.com/httpdocs/wp-includes/class-wp-rewrite.php on line 1036', referer: hidden link

It seems an error of the string translation...

December 2, 2024 at 12:02 pm #16465778

andreaP-96

Other informations:

I can see old translation fo strings in the code, even if I changed them in the admin panel.

Canonical url of the homepage is wrong. I all languages is the italiano version:

<link rel="canonical" href="hidden link" />

And it is not the default language, that is english.

December 2, 2024 at 4:45 pm #16467628

Bigul
Supporter

Languages: English (English )

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

Hello,

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.

May you have to visit Plugins>>Add New>>Commerical tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version. This step will help us refresh the installer caches.

--
Thanks!

Bigul

December 3, 2024 at 8:34 am #16470007

andreaP-96

Hi, I updated the plugin but nothing has changed.
I cleared the wpml cache too.

The strange thing is that it still displays translations of strings that I have already changed for days...
We need to fix this URGENTLY as it affects SEO.

Annotazione 2024-12-03 093254.jpg
Annotazione 2024-12-03 093344.jpg
December 3, 2024 at 12:37 pm #16471722

Bigul
Supporter

Languages: English (English )

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

Hello,

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

If the bug exists, please allow me to make a duplicator copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the issue without affecting your live site.

--
Thanks!

Bigul

December 4, 2024 at 8:46 am #16475072

andreaP-96

Now it works!

Thank you!