Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 10 replies, has 2 voices.

Last updated by Shekhar Bhandari 1 year, 4 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
January 15, 2024 at 12:17 pm #15185005

henkd-6

The META description and title are sometimes shown in the wrong language on product category pages. All other page types are fine. The issue seems to appear randomly and we haven't made any recent modifications on the pages where it appeared.

We translate the product category pages via products -> categories. We are not able to translate them via WCML because the META description, title and below content is not shown there.

When translating the product categories, we always make sure that we open only one tab.

How can we make sure that we always show META information in the correct language on product pages?

January 16, 2024 at 5:01 am #15187697

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello @henkd-6,

Welcome to WPML support. I'd be happy to help you with this.

When translating the product categories, we always make sure that we open only one tab.

Opening one tab at a time is the suggestion but you are already following the steps, so it seems like some compatibility issue too.

Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not?

Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.

Look forward to your reply.

Thanks

January 17, 2024 at 7:16 am #15192793

henkd-6

Thank you for your response.
The problem is that we can’t predict when the META description and title from Yoast are wrong. It just happens every now and then and we only notice it because of a drop in Google ranking.
We can’t possibly disable all plugins for a month to see if it keeps happening.

The only thing that we can think of, is that it happens when a product in that category is added, removed of moved to another category.

A few example pages that are wrong, are:
hidden link
hidden link
hidden link

The back-end is fine. When we save the category it is also fine. The problem is just that we don't know when it is going wrong and it is impossible to check every META in every language on a regular basis.

We only see this with product category pages. All other pagetypes are fine.

January 17, 2024 at 10:31 am #15194042

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I suggest you create a staging site to test so it will be easier.

Also, to debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

January 19, 2024 at 12:54 pm #15205039

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I checked the settings and it looks good to me, I don't see any settings that can create the issue.

Being so, I would ask you to monitor the site and update me when the description is shown wrong, or if there is already an URL with the error, please provide it to me so I can check.

Look forward to your reply.

Thanks

January 19, 2024 at 1:01 pm #15205066

henkd-6

Hi,

One URL example from every language:
hidden link
hidden link
hidden link

Those are wrong, but many more. Problem is that this issue seems to appear completely random, and we can only verify it by checking all META descriptions in the pagecode.

January 19, 2024 at 1:12 pm #15205111

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

hidden link When I edit this category, I don't see any meta descriptions being added, can you check this?

Also, to debug this issue further, we would need to find a way to reproduce the issue, can you monitor it and see what causes the issue?

Also, I would suggest you to run the test on the staging site with minimal setup to see if it's a compatibility issue.

Thanks

January 19, 2024 at 1:48 pm #15205194

henkd-6

See the attached screenshot from the page: hidden link The META description and title is in Dutch, while the page is in French.
We have no clue what causes this, but it seems to be some kind of conflict between Yoast and WPML.

wrong-translation-meta.png
January 22, 2024 at 4:45 am #15209308

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Right now when I checked it's showing fresh metadata.

Are you using any sort of cache on your site? If so, can you disable it and see if it helps?

Look forward to your reply.

Thanks

January 24, 2024 at 7:53 am #15220019

henkd-6

Hi,

We use WP-rocket. I disabled it to test it, but we see the same issue.
Now it just appears in different categories. For example:
hidden link We have not made any modifications to this page.

Please help us with this, because we see that these pages stop ranking completely when this changes.

Scherm­afbeelding 2024-01-24 om 08.52.58.png
January 25, 2024 at 6:42 am #15224506

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

The category meta description in the backend is correct, it's only on the front end the description is showing wrong, I updated the category and it shows now properly.

I also tried to switch the categories multiple times and update and I couldn't reproduce the problem. To help you further with the issue, I would need clear steps to reproduce the problem.

I hope you understand.

Thanks

The topic ‘[Closed] META description and title in wrong language on product categories’ is closed to new replies.