The visual representation of ACF fields that are configured for WPML with ACFML is confusing.
When a custom field is configured as "copy", it is still showing up when editing in another language. You can edit the field, but upon saving it will be overwritten with the content from the default language.
To me (and our clients), it makes no sense to even show it in the back-end. It should be hidden, or not editable.
The same is probably the case for fields that are configured as "don't translate".
I have talked with WPML about this before and I hoped that ACFML 2.0 would be an improvement in this regard, but so far that's not the case.
There is a related issue topic (on which I can't reply anymore) that I created more than three years ago. The support agent said that a ticket was created to implement a solution, but that didn't make it to the final product apparently.
Thank you for contacting WPML support, I'd be happy to help you with this issue.
If you use the field preference "Copy", the field value will not be available in the Advanced Translation Editor. But if you switch to the second language and edit the post in the admin area, you can still edit the field value.
As I understand, you are concerned about editing the field value on the options page (settings page) in the second language in the admin area and it will be overridden when editing the field in the default language.
From ACFML 2.0, you can set the field group mode to Expert and set the field preference to "Copy" to make the field not editable in the second language when editing the options (settings) page. Please check this screenshot hidden link
Please try to update WPML, ACF and addon plugins to the newest version then enable a minimal environment as below and see if it helps:
- Deactivate all plugins except WPML, ACF and their addon plugins
- Switch to a standard theme of WordPress
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
You can also set up the field group on a test site with the link below and let me know if you can replicate the issue. hidden link
I updated ACFML to version 2.0.4 and I see the lock icon now. It is still possible to edit the fields, however. I have disabled all plugins and reverted to the Twenty Twenty Three theme, but the problem still exists.
What I am noticing, is that I am unable to edit a Text field that is placed in the "root" of the Options Page. But if I put it in a Group-field, it remains editable. Even if both the Group and the Text field are configured as "Copy". The intended behaviour upon saving is correct (even after changing the value, it is reverted to the value from the default language) but the visual representation is not clear (there's no lock, the field is editable).
I have added a group and a repeater to the test site for you to see what I mean.
There is a lock icon next to the Group title as other single fields above, please check this screenshot hidden link
The expected behavior is the custom field value in the second language is not saved. You can add a description for these fields to notify the users about the value will not be saved.
The point of the issue that I'm raising here, is that this lock icon is in not a single way clear enough for the end user.
If the group/repeater contains multiple fields, the lock icon will soon be out of view of the user. But more importantly: if a field is editable, the expected behaviour is that the value will be saved. Why else would it be editable?
You can't argue with me that this is good UX-design, it is not.
It could be a feature request. I will escalate this case to our compatibility team to take a look at this feature and I will update you here when I have any information.
Thanks,
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.