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.
Tagged: Compatibility
This topic contains 35 replies, has 0 voices.
Last updated by Ton 2 days, 13 hours ago.
Assisted by: Shekhar Bhandari.
Author | Posts |
---|---|
July 4, 2025 at 6:28 am #17199825 | |
Ton |
Hello Shekhar, I did it on the dev site and it is still broken. Here is the video: hidden link I saw you edited the 'Pagina', but you should edit an 'Inactive' group. This is how we set it up, with blocks. Wich we load up via code in the 'Pagina' if we want to use it. In my video you see I edit 'Dropdown items', not 'Pagina'. I hope you understand the difference. Kind regards |
July 4, 2025 at 6:38 am #17199859 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, The field group was set to same field across languages, I set it to "Expert" and the changes aren't affecting the results. I am testing using content field group settings so the front-end might require the field to be deleted. Let me know if this helps. Thanks |
July 4, 2025 at 7:06 am #17199960 | |
Ton |
Hello Shekhar, Thank you for sticking with me. I think this might be it. Anyhow, I have addressed this problem multiple times now, and you are the first to stick with me and get to the bottom of this. But why all the sudden is this a bug? I never had this before, before the change on the plugin end to translate all ACF groups stuff etc. Kind regards |
July 4, 2025 at 8:17 am #17200230 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello 🙂 Please make sure the field groups are set to Expert mode. You're creating the field groups using local JSON, and based on what we see, the issue may stem from one of two things: - Incorrect translation preferences set in two different places for content fields, or Here's what might be happening on your side: * You created a field group and added a field named content. * The field group is set to “Same Fields Across Languages.” * In your ACF JSON, you've configured the fields to be translatable using: "wpml_cf_preferences": 2, * You've defined the sub-fields and configured them accordingly. * When sub-fields are updated, only their JSON gets updated — the main field group JSON does not. * As a result, when the post is updated, it pulls preferences from the outdated main field JSON, potentially treating content as translatable, this fields has sub-fields name saved and it's gets translated too. These are just assumptions, for us it works without any issues. Possible solutions: * Switch to Expert mode, as mentioned earlier. * Ensure the JSON files are writable, and set the content field to Copy instead of Translate. * Whenever you update sub-fields, also update the main field group JSON to keep everything in sync. Let me know if this helps! Thanks |
July 4, 2025 at 10:56 am #17201230 | |
Ton |
Where are you getting it from that we use local ACF JSON? Because we don't, at least I am not aware of this. |
July 4, 2025 at 11:02 am #17201237 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Your child theme has this files: .../wp-content/themes/webtontheme-child/components there are jsons for fields. If our assumption is incorrect you can continue to use the expert method. Thanks |
July 4, 2025 at 1:38 pm #17202020 | |
Ton |
Ahhh, nah that's not used for that. This was used once for importing of the fields. This is not ACF local JSON feature. I will use the expert method for future updates on this website. Thanks again for the help. |