Skip to content Skip to sidebar

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

Problem:
The client is trying to translate WooCommerce filters/properties with the Woodmart theme, specifically dealing with image swatches for colors and sizes. The client wants to avoid manually editing over 100 attributes and is looking for a more efficient solution.
Solution:
1. Ensure a backup of the site is taken for safety.
2. Navigate to WPML >> Settings > Custom Term Meta Translation section.
3. Locate the "not_dropdown" field, set it to "Copy", and save the changes.
4. Re-save the default language terms to apply the change to all existing secondary language attribute terms by going to Products >> Attributes > Model attribute > Configure terms > Quick edit > Update.
If the problem persists, we recommend providing temporary access to your site for further assistance.
Unfortunately, there is no bulk edit/update option for Taxonomies within WPML's built-in features. You might consider using a plugin or custom code with the help of WPML API hooks. For more complex customizations, contact one of our certified service providers at WPML contractors.

Please note that this solution might be outdated or not applicable to your specific case. 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 this does not resolve your issue, please open a new support ticket.

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 3 replies, has 2 voices.

Last updated by Noman 2 years, 4 months ago.

Assisted by: Noman.

Author Posts
December 22, 2023 at 6:34 pm #15121459

waldemarK

Tell us what you are trying to do?
translate woocommerce filters/properties with woodmart theme

Is there any documentation that you are following?
no
I had the same problem with the Color-property. These are not text swatches but image swatches. I uploaded the images again for all 15 colors. But I have 64 sizes and I would like to avoid to open all 64 and change the flag to 'text swatch' for evey italian size.
Is there a similar example that we can see?

What is the link to your site?
hidden link
hidden link

Bildschirmfoto 2023-12-22 um 19.31.36.png
Bildschirmfoto 2023-12-22 um 19.25.19.png
Bildschirmfoto-2023-12-22-um-19.22.38.jpg
December 24, 2023 at 11:33 am #15123625

Noman

Hi,

Thank you for contacting WPML Support. This issue usually happens when the custom term meta fields are not Sync properly and it can be fixed by following the below steps:

1. Please take a backup of your site for safety reasons.
2. Go to WPML >> Settings > Custom Term Meta Translation section.
3. Search for the “not_dropdown” field, and set it to “Copy”, and press the Save button.
4. Now, you need to re-save the default language terms to apply that change to all existing secondary language attribute terms. To do it, please go to Products >> Attributes > Model attribute > and click on the “Configure terms” link press the "Quick edit" link, and press the “Update” button as you can see in the attached screenshot.

If the issue persists, 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.

Your next answer will be private, meaning only you and I can access it.

=== 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 essential.

Thank you

custom term meta.png
Quick Edit link 1.png
Update button 1.png
December 27, 2023 at 9:08 am #15131332

waldemarK

Hi Noman, thank you for woking on holidays. Your solution does only partly work, doing in this way I loose the text swatch in original language, so I found a better solution working directly inside the wpml plugin. But unfortunately in both cases I need to open all 100+ attributes manually. Hoped to get a 1-click-solution

December 28, 2023 at 9:18 am #15133908

Noman

Unfortunately, I know of no bulk edit/update options for Taxonomies, so there is no click solution using the built-in feature of WPML. You may achieve it by using some plugin or a custom code with the help of WPML API hooks: https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/ which is beyond our support scope.

We recommend contacting one of our certified service providers for such cases: https://wpml.org/documentation/support/wpml-contractors/

I am sorry, I couldn't be much help here.

Thanks for your understanding