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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 16 replies, has 2 voices.

Last updated by jamesG-38 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author Posts
July 19, 2023 at 5:10 pm

jamesG-38

Product Categories are a mix of English and translated values. Refer attached.

How do I correct this? I do not see how via the Product Category taxonomy translation tool

July 19, 2023 at 6:44 pm
July 20, 2023 at 12:25 pm #14072189

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

As we discussed on the chat, were you able to restore the website and use the workaround to automatically translate the product categories?

Please let us know. Thank you.

July 21, 2023 at 6:25 am #14075997

jamesG-38

Hi, sorry I sent my replies to the "noreply" email of WMPL - it was a long day! Here are the two messages I sent again.

July 21, 2023 at 6:26 am #14075999

jamesG-38

Hi, refer attached.

I was able to create the product, assign categories that are not translated and then translate the product into Italian.

The product categories were NOT translated as far as I can tell.

What am I doing wrong?

BR, James

Screenshot 2023-07-19 at 20.54.40.png
Screenshot 2023-07-19 at 20.57.40.png
Screenshot 2023-07-19 at 20.57.52.png
Screenshot 2023-07-19 at 20.58.06.png
July 21, 2023 at 6:28 am #14076089

jamesG-38

Refer attached.

In addition I added more product categories and did the translation and flushing of the cache etc - it does NOT work.
We really need a quick fix for this.
I noticed I never get asked whether or not I want to OVERWRITE translation, so it feels like it just doesn’t.

Right now I need to take the temp product offline.

However feel free to test for yourself with this product when you get a moment.

Screenshot 2023-07-19 at 21.29.49.png
Screenshot 2023-07-19 at 21.30.10.png
opengraph_image.png
July 21, 2023 at 8:54 pm #14082127

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your reply.

It seems that the workaround shared previously (https://wpml.org/faq/how-to-translate-all-taxonomy-terms-at-once/) won't apply to taxonomy terms that were already translated.

For instance, I have removed the 'Empowered Feminine' term from the Italian version: hidden link. Then I added the same term to this new dummy product created: hidden link

Now if we open the Italian translation of this product, we can automatically translate the term: hidden link

Therefore, may I kindly ask you to:

- go to your Product Categories list first (hidden link)
- change to the desired language using the backend switcher at the top bar
- find the terms which were wrongly translated/copied and delete them
- now add a new product or use the already shared here, and assign these terms to it
- translate it automatically

It should be fine after these steps. Please give it a try and let us know how it goes. Thank you.

July 24, 2023 at 6:44 am #14085875

jamesG-38

Hi, okay understood, however this step, "find the terms which were wrongly translated/copied and delete them" is very time consuming and therefore costly. Is there a way to simply drop all product category translations and start over with automatic translation using the product creating for this above?

July 24, 2023 at 1:09 pm #14089749

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your reply.

In this case, you can use the 'bulk actions' dropdown, in order to select several terms and delete them at once.

Another options would be:

- to use a plugin like this hidden link
- or a custom code/query, like this: hidden link

DISCLAIMER:

Note: the possible solution provided is to be used just as an informational one. Please remember that custom coding is out of the scope of our support, so we can't create, debug or modify code for you and it's your responsibility to maintain it. We hope the one we used as an example could point you in the right direction. Please check our support policy: https://toolset.com/toolset-support-policy/ - https://wpml.org/purchase/support-policy/

Thanks for your understanding. If you need anything else don't hesitate to contact us.

July 27, 2023 at 6:43 pm #14113127

jamesG-38

Re my request to delete all product category translations and your response, "In this case, you can use the 'bulk actions' dropdown, in order to select several terms and delete them at once." can you clarify and perhaps show a screen shot?

Reason is I am ONLY familiar with deleting all PRODUCT CATEGORIES by this method not only the product category translations, which is ma ask.

For sure I definitely can not delete product categories. It is just their translations that have been messed up somehow by WPML, and I need a quick fix.

Is that clearer now?

July 27, 2023 at 10:09 pm #14113907

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Sure thing, I'll show you how to do it.

We tried to access your website using the credentials shared previously, but they are not working anymore. Therefore, we have created a Sandbox install and made a video for you showing the step-by-step of deleting the translated terms at bulk in this SB. Please check the videos:

#1 deleting the already translated terms at bulk: hidden link

#2 auto-translating a new product created, which have all the terms that had their translations deleted in the first video: hidden link (please observe that the translations in this Sandbox page are dummy translations, made only for testing purposes)

The videos show the same steps outlined in this reply: https://wpml.org/forums/topic/product-categories-are-a-mix-of-english-and-translated-values/#post-14082127

Please take a look on them and let us know if you're able to get the desired results now. Thank you.

July 28, 2023 at 6:01 am #14114673

jamesG-38

Thanks. I will assign this to one of my team.

July 29, 2023 at 4:04 pm #14121581

jamesG-38

Hi Mateus, this is Corina. I've been assigned by James to do this above.

I have done the above steps for product categories in Italian, Spanish, Portuguese and French when I realised that the previously existing services in the above languages have lost the product category translation and so now only the new test product is associated with the translated categories name in the above languages.

I have only German to go but now I am reluctant to do it because I will lose the association there as well.

Can you help please?

Screenshot 2023-07-29 at 19.00.30 Medium.jpeg
Screenshot 2023-07-29 at 19.00.25 Medium.jpeg
July 29, 2023 at 4:45 pm #14121685

jamesG-38

I finally restored a backup of the site. I could not fix the categories in good time.
Also what happened is that the above steps also created 2 product category names in 1 language (for example French below)

body-therapies
therapies-corporelle
and
therapies-corporelle-fr

Also the Fr, It,Sp and Pt categories lost their parent category in this way of doing the translation process

July 31, 2023 at 1:24 pm #14127805

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Corina,

Welcome to our support forum!

That is expected, I'm afraid. You still need to update the translated products, so that the new categories translations are reflected to them.

You can also do this at bulk. So, after re-translating the terms (as explained in the videos shared above), you would have to:

- Go to WooCommerce -> Products
- Change to the desired language with the backend language switcher at the top bar
- Select the products you want to edit: hidden link
- Here you will find a Bulk Actions drop-down on the top left of the screen. Choose the Edit option, and click apply: hidden link
- Then, click on 'Update' and check if it solves the issue

Then the new category translations should be refreshed and assigned to the translated products.

About your last issues, I'm not sure if I fully understood them. Could you please send some screenshots showing the two product category names in one language, and the child terms dissociated from the parents?

If you're still stuck, may I kindly ask you to provide us with the access again? Your next response will be private.

Please let us know. Thank you.

The topic ‘[Closed] Product Categories are a mix of English and translated values’ is closed to new replies.