This thread is resolved. Here is a description of the problem and solution.
Problem:
The variation Swatches plugin (Variation Swatches for WooCommerce) is not showing colors on the translated products.
Solution:
1- Go to WPML-> Settings-> Custom Term Meta Translation
2- Set the "product_attribute_color" to copy
3- Click on "Save"
4- Edit the default language color and re-save it
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.
This topic contains 34 replies, has 2 voices.
Last updated by Roger 3 years, 3 months ago.
Assisted by: Osama Mersal.
| Author | Posts |
|---|---|
| July 20, 2022 at 6:36 am #11697773 | |
|
Roger |
Variation Swatches plugin are not showing colors on the translation pages i try to add the XML but still not working |
| July 20, 2022 at 11:04 am #11700181 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. I've checked your site and found that the colors are not copied to translated attributes. (Kindly check the attached screenshot) The following steps fix the issue: 1- Go to WPML-> Settings-> Custom Term Meta Translation After that, the color will be copied to the English attribute. Kindly check this video to see the steps. (hidden link) I hope this helps you. If you need further info, please let me know. Best regards, |
| July 20, 2022 at 11:18 am #11700407 | |
|
Roger |
Hi thanks for the fast reply i have any option to do a bulk process for all of the attributes? |
| July 20, 2022 at 11:22 am #11700423 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I'm afraid you need to do it one by one for the 31 translated attributes, but the new translations should be copied automatically. Thanks, |
| July 20, 2022 at 2:10 pm #11702345 | |
|
Roger |
How can i do the new translations copied automatically. |
| July 20, 2022 at 2:16 pm #11702403 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, When you translate a product color using WPML-> Taxonomy Translation or WooCommerce Multilingual-> Attributes tab, the color will be copied to the translated attribute. Kindly check this video. (hidden link) Best regards, |
| July 20, 2022 at 3:31 pm #11702911 | |
|
Roger |
I can do all this process faster? we have any bulk option to copy it? |
| July 20, 2022 at 3:38 pm #11702941 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, It would be best if you translated your attributes in order to copy the color. If you don't need the colors to be translated, you can set them to "Not Translatable" from WPML-> Settings-> Taxonomy Translation section. Regards, |
| July 20, 2022 at 3:51 pm #11703015 | |
|
Roger |
i have some issue with the translation hidden link hidden link some bug on the WPML and now not showing the variations |
| July 20, 2022 at 4:20 pm #11703279 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) I've checked the mentioned products, which are not connected. (Kindly check this hidden link) Also, you have multiple products with the same name, and none is translated. (Kindly check this hidden link) 2) I noticed that you set the attributes to not translatable, so could you please go to WooCommerce Multilingual-> Status tab-> Troubleshooting. (hidden link) Kindly select all except the last option and click on the "Start" button. (Kindly check the attached screenshot) ❌ Please backup your database before performing the above test ❌ Regards, |
| July 21, 2022 at 6:36 am #11706739 | |
|
Roger |
Hi this option not works for me |
| July 21, 2022 at 6:42 am #11706753 | |
|
Roger |
i check the attributes and now are double in all languages |
| July 21, 2022 at 8:13 am #11707565 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) Could you please let me know which products have duplicated attributes? I've checked some products and found that the attributes work correctly in French and don't work in English. 2) I've run some tests on my local installation and found that the best option in such cases is to set the "Product Couleurs" as translatable and translate the attribute because the products and variations post types are translatable. I suggest retrieving the setup to the point of the ticket beginning and applying these steps. (https://wpml.org/forums/topic/variation-swatches-plugin-are-not-showing-colors-on-the-translation-pages/#post-11700181) Best regards, |
| July 22, 2022 at 8:13 am #11717195 | |
|
Roger |
Hi After translate all the attributes i still have some issues with the English translation, now the colors not appear on the English version and the products appear out of stock. Can i delete all translation products and copy it again? Another question on the description i have 3 words that need to be translate in all products can i do in bulk process ? regards |
| July 22, 2022 at 12:10 pm #11718873 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) In order to bulk duplicate the products, kindly check the following steps: 1- Delete the English products, and empty the trash Please note that you can bulk duplicate more than 20 products by increasing the number from the screen options. (Kindly check this hidden link) 2) If you mean the words in the product's short description, you might need to translate them using WPML Translation Editor or manually. If you mean other words, please search for them in WPML-> String Translation. I hope this helps you. If you need further info, please let me know. Best regards, |

