[Resolved] Problem with translating some ACF Fields
This thread is resolved. Here is a description of the problem and solution.
Problem: You are using WPML's automatic translation for a custom Gutenberg block called 'Blog - box' which includes an ACF Group with fields like headline, txt, and link. In the expert translate mode, the 'headline' field, set to 'translate', does not appear in the Advanced Translation Editor (ATE), although the 'link' field does. Solution: We resolved the issue by modifying the WPML configuration XML. The problem was related to an encoding attribute which, when removed, allowed the 'headline' field to appear in the ATE. Here is the corrected code you should use:
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. If you still need 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.
Background of the issue:
I am trying to use WPML automatic translation for a custom Gutenberg block called 'Blog - box' which has an ACF Group with fields like headline, txt, and link. I am using the expert translate mode and have set the 'headline' field to 'translate', but it does not appear in the Advanced Translation Editor. The 'link' field, also set to 'translate', does appear. I have tried changing the field to 'Copy once', updating the post with a title change, and clearing the cache, but it didn't work. Previously, using the classic WordPress editor for translations, I had no issues. Here are the screenshots: hidden link
Symptoms:
The 'headline' field set to 'translate' does not appear in the Advanced Translation Editor, while the 'link' field does.
Questions:
Why does the 'headline' field not appear in the Advanced Translation Editor despite being set to 'translate'?
What steps can I take to ensure all fields appear in the Advanced Translation Editor?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Can you try this?
1. **Inspect the Block in WordPress Editor:**
- Add the block to a post.
- Switch to **Code Editor** (top-right options menu > "Code editor").
- Copy the block's raw HTML.
Sadly, It didn't help. As You said I tried it with existing block and it didn't work, and also I created new page, added block and even then I cant translate this fields.