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.

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by marcV-6 1 year, 10 months ago.

Assisted by: Prosenjit Barman.

Author Posts
June 21, 2023 at 8:23 am #13865077

marcV-6

Tell us what you are trying to do?
translate a product

Is there any documentation that you are following?
the one you provide.

Is there a similar example that we can see?
any translated woocommerce webshop.

What is the link to your site?
this is the product I'm trying to translate:
hidden link

And now I can't even edit the translated product because the refresh icon link is not working..

It would be better of the translations were not locked and I could add my translation directly on the productpage in Woocommerce instead of via the WPML WooCommerce Multilingual & Multicurrency function...

Woud that be a possibility?

Hope you can help.

Screenshot 2023-06-21 at 10.19.27.png
June 22, 2023 at 10:09 am #13875395

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for contacting WPML Support. I will be happy to assist you in this matter.

I understood that you're having some issues translating the custom attributes. In order to translate the custom attributes, you need to make that the attribute is set to Translatable.

Please go to "WPML > Settings", scroll down to the "Taxonomies Translation" and make sure that the Custom taxonomy that you've added to your product is set to "Translatable". By doing so, you'll be able to Translate the Attribute term easily while translating the product.

Now, I'd like to inform you that when you're using the WooCommerce Multilingual plugin, you'll not be able to manually edit the translated products. The fields will appear locked as they are always synchronized with the default language values. We also don't recommend editing the product in that way.

However, if the translation status of a page is stuck and you can't add translation due to that, then you can solve the issue by following the instructions mentioned in the guide below.

- https://wpml.org/faq/translation-status-stuck-or-displaying-the-error-wpml-didnt-manage-to-translate-this-page/

I hope it will help. Feel free to let me know if you need further assistance in this matter. I will be happy to help you.

Best Regards,
Prosenjit

June 22, 2023 at 11:30 am #13875935

marcV-6

Hi Prosenjit,

the taxonomy is set to translatable but for some reason it is not shown..

Attached 3 screenshots.
1. of the translation set via the "WPML WooCommerce Multilingual & Multicurrency" function.
2. of the product page in WordPress where the dutch texts are still shown
3. and the front end where the Dutch texts are also shown..

So I'm not really sure what I'm doing wrong here. Probably missing something very simple But I just don't know at this point.
Hope you can help.

Kind regards,
Emile Jansen

Screenshot 2023-06-22 at 13.28.20.png
Screenshot 2023-06-22 at 13.25.55.png
Screenshot 2023-06-22 at 13.24.36.png
June 23, 2023 at 6:51 am #13881941

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Emile,
Thanks for sharing the screenshots and more information.

From the debug information and the screenshot, everything seems to be correctly configured. As the translation is not showing properly, please follow the steps below and check if that helps. Make sure to take a full backup of the site before proceeding.

- Please go to "WPML > Support" and click on the "Troubleshooting" link.
- Click the following buttons:
-- From the first dropdown, select "Products" and click on "Synchronize Post taxonomies".
-- "Clear the cache in WPML"
-- "Assign translation status to duplicated content"
-- "Set language information"

After completing these steps, open the default product and make a small change. Then, save the changes and update the Translation as well. Prior to checking, make sure to clear all the caches from your site and browser as well. I hope it will help.

Please let me know if that helps or need further assistance in this matter. I will be happy to assist you.

Best Regards,
Prosenjit

June 23, 2023 at 11:47 am #13883989

marcV-6

Hi Prosenjit,

I went through all your steps but it changes nothing. The translations are not visible on the product page in WordPress or on the front end.

Hope you can help.

I can give you admin login credentials if you want to late a look.

Kind regards,
Emile Jansen

June 26, 2023 at 6:32 am #13892129

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Emile,
I hope you're doing well. Sorry for the delay in responding due to the Weekend.

Thanks for trying out the suggestions. As the issue persists even after following them, a closer inspection will require to understand the root cause. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response and kind cooperation in this matter.

Best Regards,
Prosenjit

June 27, 2023 at 7:19 am #13899955

marcV-6

Hi,
I see you are working on the website (a couple of plugin's are disabled). Please let me know when the website is up and running again so we can move along with he development of it.
and hopefully the translation issue is fixed 😉

Kind regards,
Emile

June 27, 2023 at 8:03 am #13900245

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Emile,
Thanks for sharing the access.

I have checked by applying every possible solution but the custom attributes aren't showing translated on your site. To further investigate the issue, I took a copy of your site and will deploy it in my development environment. I will surely let you know as soon as I have an update on this matter.

I appreciate your patience and kind cooperation in this matter.

Best Regards,
Prosenjit

June 28, 2023 at 11:21 am #13909595

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

After a thorough investigation, I have successfully been able to solve the issue. The main issue here was the English translation for the product wasn't created properly for some unknown reason. It was stuck in the Refresh phase. Here are the steps that solve the issue.

- Updated the WPML and Its add-ons to their latest version.
- Went to "WPML > Support > troubleshooting" and clicked on the following buttons.

-- [Products, Variations] Synchronize posts taxonomies
-- Clear the cache in WPML
-- Remove ghost entries from the translation tables
-- Fix element_type collation
-- Fix WPML tables collation
-- Set language information
-- Fix post-type assignment for translations
-- Cancel in-progress automatic translation jobs

- After completing these steps, made a small change in the Product title.
- Saved the Product and been able to update the translation.

The translation started to show properly after that. Please check this screenshot: hidden link

Please note that after updating the translation, kindly wait for some time for the changes to take effect. Once the translation update is complete, you should see a ‘Pencil’ icon.

Please check and let me know if there is anything else you need help with. I will be happy to assist you.

Best Regards,
Prosenjit