Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

Tagged: 

This topic contains 5 replies, has 0 voices.

Last updated by Andrey 1 day, 23 hours ago.

Assisted by: Andrey.

Author Posts
November 6, 2025 at 2:35 pm #17554470

Timo Brock

Background of the issue:
I'm trying to translate all my content on my site hidden link, but the buttons, which are added with Advanced Custom Fields (ACF), aren't being recognized by WPML to be translated.

Symptoms:
My buttons are not translatable.

Questions:
Can you help me translate buttons added with ACF using WPML?

November 6, 2025 at 3:38 pm #17554682

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

Have you tried setting the button fields to Translate? Since these buttons were created using ACF (Advanced Custom Fields), you need to make sure the corresponding fields are set to be translatable.

You can do this as follows:
1. Go to WPML → Settings → Custom Fields Translation.
2. Locate the ACF field that corresponds to your button (for example, button_text, button_link, etc.).
3. Set it to Translate.
4. Save the changes.
5. Then, re-edit your page or post and send it for translation again.

More details can be found here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

After that, please check if the button texts appear correctly in the WPML Translation Editor.

If the issue persists, please include the screenshots.

November 7, 2025 at 8:01 am #17556148

Timo Brock

The problem is that I've tried that, but the fields are locked. I guess this is because of the translation option I choose for this ACF field group ('Same fields across languages'). Is that true?

Because I would like to keep this option because all the other fields are being properly enabled to be translated, it's only the button values which are being denied in some way.

Screenshot 2025-11-07 at 09.01.00.png
Screenshot 2025-11-07 at 08.51.52.png
November 7, 2025 at 9:54 am #17556533

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

Yes, you’re absolutely right — the custom fields are locked because the “Same fields across languages” option is currently enabled.

You can make these specific custom field translatable by adding a configuration in WPML → Settings → Custom XML Configuration. So, you'll keep the option and enable translation for the button.

Here’s an example:

<wpml-config>
  <custom-fields>
    <custom-field action="translate">your_button</custom-field>
  </custom-fields>
</wpml-config>

You can find more details here:
https://wpml.org/documentation/support/language-configuration-files/custom-fields-translation-options

This solution should work — I’ve tested it locally. However, if it doesn’t work with your specific setup, please switch to “Expert” mode and manually configure the field translation settings.

November 10, 2025 at 3:58 pm #17563312

Timo Brock

Hi Andrey, your first solution works! Now my question is, will there be new 'custom fields' to add to this XML list when new content/pages are added? Or only when actual new Advanced Custom Fields are added?

November 11, 2025 at 3:05 pm #17567323

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Hi,

I’m glad to hear that it’s working!

No additional custom fields will be added to the list. The configuration you define there only applies to the specified custom fields and will override the settings for those particular fields only.