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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

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

This topic contains 5 replies, has 2 voices.

Last updated by Dražen 1 year, 7 months ago.

Assisted by: Dražen.

Author Posts
August 27, 2024 at 7:14 pm #16111981

nelsonF-3

Background of the issue:
I have a few ACF fields that output values based on the radio button selected. Some of these are translating fine, but some are not translating even though their translations have been added in. I have looked at the WPML and ACF Multilingual documentation.

Symptoms:
Some ACF radio button options are not translating despite translations being added in string translation.

Questions:
Why are some ACF radio button options not translating even though their translations have been added?

August 28, 2024 at 6:21 am #16112563

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for contacting us.

1) Can you share the URL to the page where I can see the issue?

2) How are you settings radion options, as label : value format or? Also what is your translation settings for that field group/field?

3) Since you use a custom theme, please check if the issue still happens when using the WP default theme. This is to confirm issue is not being caused by your custom-coded theme. I advise checking this on the staging website.

Let us know how it goes, thanks.
Drazen

August 28, 2024 at 2:31 pm #16115819

nelsonF-3

Hello,

1. You can see it on this page: hidden link and the single product pages (ex: "Exterior Corrosion-Resistant on this page: hidden link)

2. The radio button is just the value, not label : value. The translation settings for that field group is "Same field across all languages"

3. These CPT's don't output in any default theme, so I can't tell if it's working on any of them by just switching.

Thanks!

August 29, 2024 at 6:10 am #16117522

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

2) Please make sure they are in that format, so you can translate labels and that output is set to label:

- hidden link

3) Since it is a custom theme, we can not debug issues with custom developed theme that is out of the scope of our support. Please try to reproduce and check as I advised above with the WP default theme.

Let us know how it goes.

Regards,
Drazen

September 3, 2024 at 7:26 pm #16137604

nelsonF-3

Changing to that format still did not solve the issue.

I'm 99% sure it's not an issue with the custom theme, as some of the radio options in the same field are translating. The code is outputting correctly, there's just some strings that are randomly not translating.

September 4, 2024 at 6:18 am #16138416

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for checking.

Before we can continue I advise you to confirm the issue still happens with the default theme and only WPML plugins and ACF, then in that condition we can check and debug your issue further.

Let me know.

Regards,
Drazen

The topic ‘[Closed] Some of my ACF radio button options are not translating’ is closed to new replies.