Skip to content Skip to sidebar

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 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 13 replies, has 0 voices.

Last updated by Itamar 2 days, 9 hours ago.

Assisted by: Itamar.

Author Posts
July 31, 2025 at 1:01 pm #17285095

bikbulatovaE

Background of the issue:
I am trying to translate links included in WooCommerce category descriptions. The issue can be seen on this page: hidden link.

Symptoms:
I expected to see the link hidden link on the anchor 'matériel tactique', but instead, I got hidden link on the same anchor.
Very bad for SEO internal linking.

Questions:
I need a solution to translation links included in woocommerce content.
WPML > Settings > replace links tool > It doesn't work. There is too much links on the website. This tools fails to complete his task, it stops during the process. Also I'm not sure it would even do the job for woocommerce content.

August 4, 2025 at 9:16 am #17292342

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll continue to help you with this issue.

I can see this problem on the page you provided as an example.

Please check if the link is translatable when you edit the French translation with the Advanced Translation Editor. You may need to search for the link in the search field at the top right corner. Please start typing "http" and you should see all the links available for translation.

If it does not help and you need further assistance, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

August 6, 2025 at 9:01 am #17298874

bikbulatovaE

How can you do this for taxonomies?
These pages are taxonomies. I can't find how to access the advanced translation editor

August 7, 2025 at 5:51 pm #17303594

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Thanks for further clarifying the issue.

In this case, you can translate the taxonomies' description in WPML -> Taxonomy Translation. Please read about it in the following guide.
https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/#edit-taxonomy-translations

If my advice does not help and you need further assistance, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Please note that my weekend hours are Friday to Saturday. If you need further assistance, I'll be available to continue checking this issue and helping you next week.

Regards,
Itamar.

August 10, 2025 at 11:02 am #17307511

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the access details.

If the option 'Translate Link Targets' from WPML -> Settings did not work, we need to identify why those links were not translated.

May I ask how you have translated the product categories' descriptions?
In WPML -> Taxonomy Translation, I can see that they are translated.
Please see the attached screenshot.
However, you may not have translated the product categories in WPML -> Taxonomy Translation. You may have done it while translating a product with the Advanced Translation Editor.
If this is indeed the case, can you please give an example of one product in which you also translated the taxonomy?
I'm asking for an example, because once the product category is translated, it will not again be included when sending the product to translation. So I must check things with a product that has already been translated. It will probably be the first product associated with a category that was sent to translation.

Thanks,
Itamar.

2025-08-10_13-40-42.jpg
August 10, 2025 at 4:24 pm #17307847

bikbulatovaE

I confirm that the tool of link replacement doesn't work for woocommerce category descriptions.
Result here: hidden link > Link placed on the text "nous avons le tapis en jute parfait pour votre maison".

I translate products and product categories on google sheet with AI integrations. It allows us to get much better results concerning tech words/expressions related to every niche. It's also 1000+% cheaper for us, literaly.

Could you make your link adjustmenent tool work with woocommerce pages also? Thanks.

Capture d’écran 2025-08-10 201957.jpg
August 10, 2025 at 4:45 pm #17307870

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Thanks for further explaining your translation method.

Can you please confirm that you imported/pasted the product category descriptions onto your site with the links on the French side not translated, meaning pointing to the English language?

This information will help in my investigation of this case.

Thanks,
Itamar.

August 13, 2025 at 3:35 pm #17318443

bikbulatovaE

Yes!
Our process doesn't include the link translation, only the content.

August 13, 2025 at 4:06 pm #17318534

bikbulatovaE

This is what I see here for this test product. The screenshot displays the category description on the advanced translator. For a test product.

The content of this category, in fact, is already translated with our google sheet method and pushed live on the website here: hidden link.

By the way, your translator still doesn't support html tags like h1/h2/h3 in woocommerce category descriptions. That's terrible for SEO.

Maybe you could just improve your link remplacement tool to support woocommerce categories too. But it's damn slow. You should make it run on the website background.

Capture d’écran 2025-08-13 200034.jpg
August 17, 2025 at 5:10 pm #17325627

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'm consulting our second-tier supporters on whether it is possible to add the feature you requested to translate to adjust the links in the product category description. Or alternatively, if they can provide you with a workaround. When I have their reply, I'll update you here.

Regards,
Itamar.

August 18, 2025 at 8:16 am #17326538

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

We have a partial workaround for this case.
We call it partial because the links turn to something like this:
hidden link
However, this is what we have for now.
Please try it on your site.

1. Back up your site, in case something goes wrong.

2. Add this function to the functions.php file of your theme.

add_filter( 'woocommerce_taxonomy_archive_description_raw', 'process_taxonomy_description_with_absolute_links', 10, 2 );

function process_taxonomy_description_with_absolute_links( $description, $term ) {
	if ( class_exists( '\AbsoluteLinks' ) ) {
		$absoluteLinks = new \AbsoluteLinks();
		$description = $absoluteLinks->convert_text( $description, true, null );
	}
	return $description;
}

3. Save the file.

Now, check if the links point to the translated version.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Please let us know how it goes.

Regards,
Itamar.

August 19, 2025 at 7:54 am #17330069

bikbulatovaE

Itamar, please more precision.
What is this for? Does it support link translation in woocommerce category description?

August 19, 2025 at 8:00 am #17330093

bikbulatovaE

It doesn't work for multi-domain configuration.

August 19, 2025 at 10:45 am #17330904

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Thanks for trying this.

Yes, it is specifically for adjusting internal links in the product category description.

I'm consulting our second-tier supporter about the result you reported.

Regards,
Itamar.