Skip Navigation

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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 9 replies, has 2 voices.

Last updated by Eran Helzer 1 year, 5 months ago.

Assisted by: Eran Helzer.

Author Posts
June 7, 2023 at 6:36 am

pavelZ-3

Good afternoon, tell me how can I translate the ACF fields.
I installed ACF Multilingual. In the ACF settings, I chose "Same fields across languages". At the very end, in the ACF settings, if you select "Do not make 'Field Groups' translatable", then the fields are shown in the admin panel in all language versions, but not translated. If you select the other two items, then the fields are shown in only one language.
I think that the problem is in these two locks, in the WPML settings.

June 7, 2023 at 6:58 am
June 7, 2023 at 7:01 am #13782367

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

You have been inactive for a while in the chat, so I converted it to a thread.

I am not yet sure exactly what your issue is, if you can attach some screenshots and/or a short recording that better illustrates it that would help me.

Have a great rest of your day!

June 7, 2023 at 7:08 am #13782447

pavelZ-3

Hello, screenshots attached in a private message. Is it available to you?

June 7, 2023 at 7:34 am #13782641

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Yes, I see the attached screenshots.

I am not entirely sure on what you want to achieve. Do you want to translate the custom field labels or the custom field values?

The "Field Groups" translation setting was used to translate custom field labels, although now it can be achieved without changing any settings using WPML -> String Translation.
There is more information about translating custom field labels here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#translating-labels

In your screenshot I see that you point out two custom fields, "blackout" and "colors". The translation setting for these is controlled by setting the translation option for the field group. "Same fields across languages" sets and locks the translation settings for the fields in the field group, according to the table here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/

Please update me on if this clears up the issue, if not please describe what the issue is and what you want to achieve so I can help you better.

June 7, 2023 at 12:23 pm #13785825

pavelZ-3

I want to translate Radio button items via String Translation. I saw the instructions you have attached. But I couldn't find these settings.

ACF-WPML-4.PNG
June 7, 2023 at 1:19 pm #13786625

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

To translate Radio button items via String Translation, you can filter by domain. The domain will be name "acf-field-group-XX", "XX" being a number. I have attached some screenshots to illustrate what I mean.

Screenshot from 2023-06-07 15-56-40.png
Screenshot from 2023-06-07 15-58-54.png
June 7, 2023 at 1:32 pm #13786821

pavelZ-3

Yes, that's exactly what I do. It doesn't work 🙂
I specifically named one color "Red eng", translated it into other languages ​​as "Red est" and "Red rus", but everything remained the same. Even "Red" didn't change to "Red eng"

June 8, 2023 at 5:58 am #13790065

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Yes I see. It may be that they are translated correctly but you are not displaying them.

ACF field labels will display in the current admin language. To set the admin language you can either change your admin language, or use WPML's additional settings to configure the admin language to the current editing language. For example, when editing posts in English you will see the English field labels, and when editing posts in Spanish you will see the Spanish labels.

I have attached a screenshot where I marked the settings I referenced.

Screenshot from 2023-06-08 08-44-38.png
June 8, 2023 at 7:02 am #13790337
pavelZ-3

I did as you wrote, the translated colors are now displayed in the Admin panel.
I didn't mention what I need it for.
I use these colors in filters, via FacetWP. Apparently it's important 🙂

On the pages, these filters remained untranslated. Here are examples of one page in different languages:
hidden link
hidden link

New threads created by Eran Helzer and linked to this one are listed below:

https://wpml.org/forums/topic/how-to-display-facetwp-translations-in-secondary-language/

June 8, 2023 at 9:06 am #13791427

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

We limit 1 issue per 1 ticket, to keep things clear and easy to follow. I have opened a new ticket for your new issue regarding FacetWP to keep things clear, lets continue there:
https://wpml.org/forums/topic/how-to-display-facetwp-translations-in-secondary-language/