Skip to content Skip to sidebar

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

Problem:
The client is unable to see the translated names of WooCommerce product attributes like 'color' and 'size' on the Danish version of their site, despite setting translations in WooCommerce Multilingual & Multicurrency.
Solution:
1. Ensure that the WooCommerce plugin is updated to the latest version.
2. Recognize that local attributes added from the product edit screen are only translatable using the WPML Translation Editor.
3. Enable the WPML Translation Editor for the product, and use the Advanced Translation Editor to complete the translations.
4. After applying these steps, check the frontend to see if the translations appear correctly.

If this solution does not apply to your case, or if it seems outdated, 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 issues persist, please open a new support ticket at WPML support forum for further assistance.

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 2 voices.

Last updated by Noman 1 year, 8 months ago.

Assisted by: Noman.

Author Posts
August 12, 2024 at 11:36 am #16061997

thomasK-16

Background of the issue:
I am trying to translate a WooCommerce product attribute name, such as 'color' or 'size' (not the term). I tried to translate it through WooCommerce -> WooCommerce Multilingual & Multicurrency. At the bottom of 'Attributes' I can see that the original language is English and the name is color. I have set the Danish translation to 'Farve' and for size I have set it to 'Størrelse'.

Symptoms:
In the frontend, nothing changes. The English names are shown instead of the translated ones, even though I am on the Danish site.

Questions:
Why are the attribute names not translating on the frontend?
Is there a specific step I am missing in the translation process?

August 19, 2024 at 12:56 pm #16083571

thomasK-16

I have updated my plugins as requested, but I still have the issue

August 19, 2024 at 3:25 pm #16084554

Noman

Thanks for following those steps. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

I’ve enabled a private input box for your next reply.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.

Thank you

August 26, 2024 at 9:34 am #16103641

Noman

Thank you for providing the credentials. I’ve checked your site, and it looks like some plugins are still on older versions which may cause this issue. Could you please try updating everything to the latest version especially, WPML, WooCommerce, WooCommerce Multilingual, and Elementor?

This should help resolve the issue.

Let me know if you need any assistance with the updates!

Thank you for your cooperation

August 26, 2024 at 9:51 am #16103751

thomasK-16

I have tested it locally with those plugins updated. It did not change anything.
The following is updated on the server now: WPML and WooCommerce Multilingual

August 26, 2024 at 12:17 pm #16104388

Noman

Thanks for updating these two plugins on the server. To troubleshoot this issue without affecting your live site, I have set up a fresh WP site on cloudways. Please migrate your site to the cloudways server so that we can update all plugins and see if it’s a theme/plugin conflict or a server-specific issue.

I’m going to share the migration details in my next private reply.

Thank you

August 26, 2024 at 2:25 pm #16105226

thomasK-16

It has finished the migration now.

August 26, 2024 at 4:41 pm #16106158

Noman

1. Thanks for migrating the site. I’ve updated the WooCommerce plugin to the latest version on the test site.

2. I’ve noticed that they were the local attributes and added from the product edit screen as you can see in the attached screenshot. The local attributes and its labels are only translated using the WPML Translation Editor.

3. Please note that, we recommend translating the WooCommerce products using WPML Translation Editor and not using the default WordPress Editor. So, I enabled the WPML Translation Editor from that product and opened the translated product in Advanced Translation Editor and completed the translation and it works correctly at frontend as you can see in the attached screenshot.

Could you please try to follow the same steps on your site and see if this resolves the issue.

Thank you for your cooperation

frontend labels.png
size local attribute.png
translated attributes.png
Enable WPML Translation Editor.png