 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Technically, if you call a field in ACF using get_field('field_name') it is logical the the same field name should not be used more than once.
I can not tell why some fields seem to work and others not (could be the translation memory), only I can confirm that same field names can lead to fields not showing up on ATE and I have mentioned this earlier on this ticket.
It is documented here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#using-same-fields-across-languages
It would be worth testing if changing the field names, then updating the fields, saving the contents and translating them again, solves this issue.
|
 ruiG-5
|
What you are saying is not true. get_field is an object and you can use the same name in different blocks.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
From our ACF documentation:
Make sure each of the custom fields across your different field groups has a unique Field Name. If you use the same Field Name with more than one custom field, you may not see all your field values available for translation in the Advanced Translation Editor.
If you check WPML > Settings > Custom Field Translation, you will see that each field is registered with its name. If the same field exists more than once, we can not controle it from here.
|
 ruiG-5
|
That's not true for blocks. It's valid for post types, custom templates, etc. If you are using block, you can use the same field name in different blocks. Blocks works as an object, that's why you can use the same block in the same page several times without affecting anything.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Could you please set up another test site, on which we can give this a test?
Take note that my last comment was cited from the wpml.org documentation, which for I ask you again to follow the recommended workflow.
|
 ruiG-5
|
What do you mean? You can use my dev environment. I can setup a new one, if you really want.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
If it is fine with you that I will change all the field names on your dev site to ensure that they are unique, let me know.
|
 ruiG-5
|
Yeah, that's ok. I have a local backup.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
After reviewing your field groups closely I have to admit, that there are way too many fields that need to get adjusted. All your fields have general names like, title, content, style, button, etc.
Take kindly note, that if you agree to changing all the filed names of all your ACF Groups to make sure that they use the same field name, in order to test if this solves the issue, then we need to ask you to run this task yourself.
It is strictly stated on our documentation that each field name should be unique.
Our support is not supposed to adjust any ACF Field Group settings for you, as we usually do not have that much time. We handle too many requests and other tasks to do such favors for every customer.
Further, please take note that each chat and support ticket on wpml.org should handle only one issue. If you expereince various issues, even if they are related to the same plugin, we need to ask you to open one chat or ticket for each request.
|
 ruiG-5
|
Can you send me your Documentation direct link regarding ACF Blocks and WPML?
If this was the case, basically 95% of the fields weren't showing in ATE. Which clearly is not the case.
Has this issue been escalated internally?
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
As I mentioned earlier, we have already a development taks for ACF Blocks containing Group Fields. In such Groups the translation preference settings is currently not respected.
Our ACF documentation can be found here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/
See screenshot with general notice regarding field names.
|