Skip to content Skip to sidebar

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

Problem:
You are using WPML to automatically translate custom fields created by ACF for taxonomies, but WPML is not translating or copying the content of these fields.
Solution:
We recommend you navigate to WordPress Dashboard > WPML > Settings > Taxonomy visibility in the translation editor. Here, uncheck the "Only show taxonomy terms that haven't been translated yet" option and click the "Save" button. After saving, make a small change to the post and check the Advanced translation editor; you should now see all the fields.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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. Should you need further assistance, please open a new support ticket at WPML support forum.

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

Last updated by Christopher Amirian 1 year, 6 months ago.

Assisted by: Christopher Amirian.

Author Posts
October 9, 2024 at 7:58 am

artyomM-5

Background of the issue:
I created custom fields using ACF for the taxonomies (AREA, CITY) on my site hidden link. I am using WPML for automatic translation.

Symptoms:
WPML is not automatically translating custom fields created by ACF for taxonomies, and it is not even copying the content.

Questions:
How can I translate the custom fields data automatically that is assign to taxonomies.

October 9, 2024 at 10:45 am #16269442

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I tested the same scenario on a clean installation of WordPress, WPML, ACF Pro.

You can check the website by using the link below:

hidden link

What I did was to add a field group and assign it to the Post Category.

The field name is Test and I added a sample post to see if the custom field shown in Advanced translation editor and it does (check the screenshot)

So it might be something happening on your installation, maybe the way you added a custom taxonomy. I am not sure.

I will need your help to copy your website to our server so I can continue the investigation without the fear of losing a live website.

I will give the information on ho you can use the info to copy your website to our server.

Thanks.

Screenshot 2024-10-09 at 2.43.17 PM.png
October 9, 2024 at 10:59 am #16269518

artyomM-5

Okay Let me know how and when can we transfer the website to your server

October 9, 2024 at 11:17 am #16269622

artyomM-5

I added a custom taxonomy in the sandbox website you gave and Assigned to post also I added a custom fields to this taxonomy with random name. please try it's content to translate using WPML automatic translations

also can you please specify which page is this you shared in the image
16269442-Screenshot_2024_10_09_at_2.43.17_PM.png

October 9, 2024 at 11:50 am #16269827

artyomM-5

Christopher I tried the way you suggested for migration but our server doesn't allowed that I can do one thing that I have a same staging website you can play on it for this issue
Let me know if it works for you I will share the credentials

October 10, 2024 at 10:31 am #16274157

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you very much. I see that you added the taxonomy called cities and you added a few custom fields for that taxonomy including:

cityField

And I see you added a term called Dubai and added the info below for the custom fields:

dubai field
dubai 1
dubai 2
dubai 3

Then, you added a post called "This is English" and assigned the Dubai term to it.

Now if you click the pencil/circle/cog icon next to the Spanish language for that post it shows all that info in the advanced Translation Editor indicating that it is possible to automatically translate them (Check the screenshot)

But it is not showing that info on your website in the Advanced translation editor.

Now indeed I will need a staging version of the website to try to see if I can understand what is the problem and exception happening on your website.

It will help me if you can share the login info for the staging version of the website so I can freely deactivate plugins and change things around without fear of ruining the website.

Please set the next reply as private.

Thanks.

Screenshot 2024-10-10 at 2.29.14 PM.png
October 13, 2024 at 7:12 am #16282693

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for the staging login info and your patience.

I spent a lot of time without a result and I reported this to the second-tier support.

I could not create a dump of the website as it is huge.

I will wait for the answer of the second-tier support and get back to you as soon as I have news.

This will be on weekdays and not weekend.

Thanks.

October 14, 2024 at 5:26 am #16283979

artyomM-5

Sure I am waiting for any solutions.

October 23, 2024 at 2:11 pm #16322254

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Would you please go to "WordPress Dashboard > WPML > Settings > Taxonomy visibility in the translation editor"

Uncheck the "Only show taxonomy terms that haven't been translated yet" option and click the "Save" button.

Then please do a small change on the post and check the Advanced translation editor and you should see all the fields there.

Thanks.