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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 18 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 7 months ago.

Assisted by: Long Nguyen.

Author Posts
April 3, 2023 at 2:19 pm #13391287

digitalM-7

Tell us what you are trying to do?

I currently have Spanish translations of products entered via the wordpress editor. I have an ACF repeater on each product that runs the Options you can see here: hidden link

It would take forever to enter the translations for each product option on every product. How do I auto translate only this section?

Is there a similar example that we can see?
Frontend - hidden link
Backend - hidden link

I am also not sure why it is showing as locked in that backend image. It says it is copying over from English but in settings it is set as translatable and not to copy from English.
hidden link

What is the link to your site?
hidden link

April 4, 2023 at 7:11 am #13396715

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi there,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

If you want to set some specific custom fields preference to Translate, please go to Custom Fields > Edit the field group > Switch the mode to Expert. Kindly read more about field group mode here https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

Look forward to your reply.
Thanks

April 10, 2023 at 4:11 pm #13438459

digitalM-7

Hello, looks like my last reply didn't go through. It is already set to Expert.

April 11, 2023 at 1:53 am #13441045

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

Please go to ACF > Edit the field group > Edit the field > Set the field preference to Translate > Save changes.
Then go back to edit the product and translate the product again and see how it goes.

If it does not help, 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 a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

April 13, 2023 at 3:28 am #13460931

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

When I go to ACF > Edit field group "Product Options" > Repeater field > Field "Option Headline" and "Option Description", I see the field preference is set to "Copy". Please check this screenshot hidden link

Then I set the field preference to "Translate" and save changes. Now you can edit two fields in the English language as well. Please check this screenshot hidden link

Look forward to your reply.
Thanks

April 13, 2023 at 2:36 pm #13465881

digitalM-7

Hello, as you can see in your second screenshot now the product options are showing in Spanish on the English products. They should show in English for the English products and Spanish on the Spanish version of the products.

April 14, 2023 at 1:22 am #13469439

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

The original language of that product on the staging site is Spanish and the translation language is English.
hidden link

Before I change the preference, the field value is copied from Spanish to English. Now you can translate the field by adding value manually in the English language. Please check this screenshot hidden link

Look forward to your reply.
Thanks

April 14, 2023 at 6:06 pm #13475845

digitalM-7

Okay that must be old version of the site because on our live site it is being copied from English to Spanish version of product.

Can you request private login details for our dev site which has been duplicated from production more recently?

April 16, 2023 at 3:45 pm #13482097

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Then let me know a specific post where I can see the issue.

Look forward to your reply.
Thanks

April 18, 2023 at 1:42 am #13491325

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

On the new staging site, I see the field preference of two fields "Option Headline" and "Option Description" is "Copy". Please check this screenshot hidden link

I switch it to "Translate" and now you can see the field value when editing the product FP60 in Spanish can be editable, please check this screenshot hidden link

Automatic translation on this staging site is not enabled to work but on your live site, after changing the field preference, you can make a small change to the product title/content to translate the field value.

Look forward to your reply.
Thanks

April 18, 2023 at 7:44 pm #13499241

digitalM-7

Sorry I am confused by your last statement. How do I make them all automatically change to Spanish now? There are 359 products so they need to be done in bulk.

April 19, 2023 at 1:17 am #13500421

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

You can try to follow the documentation below to send products to automatic translation in bulk
https://wpml.org/documentation/automatic-translation/automatically-translating-multiple-translation-jobs-in-bulk/#automatically-translating-posts-and-pages-in-bulk

If it does not help, please try to make a small change and save the product in the original language as I suggested.

Look forward to your reply.
Thanks

April 19, 2023 at 5:17 pm #13507083

digitalM-7

I am getting this error despite having the default translation engines.
hidden link

When I did the small changed and then saved it just sites like this and doesn't translate the options on the spanish product. I tested it with "FP60"
hidden link

April 20, 2023 at 2:53 am #13508507

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

It looks like the language mapping is not set up correctly on your live site. Please go to WPML > Languages > Site languages > Edit languages > Map the Spanish (Mexico) to Spanish > Save changes and send the content to translation from Translation Management again.
Please follow the documentation https://wpml.org/documentation/automatic-translation/using-automatic-translation-with-custom-languages/

Regarding the update process of the custom field, please keep a browser tab available until the process finished then you can send the content to translation. Making a small change here is to adjust the product content, not adjust the settings in a field group.

Look forward to your reply.
Thanks

April 20, 2023 at 1:39 pm #13511929

digitalM-7

Hello, they are already mapped hidden link

The topic ‘[Closed] Automatic translations for part of product page’ is closed to new replies.