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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 3 replies, has 3 voices.

Last updated by Andreas W. 9 months, 1 week ago.

Assisted by: Andreas W..

Author Posts
October 29, 2024 at 12:44 pm #16342194

daveM-12

Background of the issue:
I am working on a WordPress site, hidden link, using WPML to manage translations. We have a series of fields in an Options page, many of which are set up as Groups and Repeater Fields. The default language is English, with French and German as sub-languages. The field group is set to 'Expert'. We want to translate the text in these fields for French and German.

Symptoms:
When trying to edit fields in French and German, they are locked with a message: 'This field value is copied from the default language and will be kept in sync across languages.'

Questions:
Why are the fields locked when trying to edit in French and German?
How can I change the text in the fields for French and German?
Is there a setting that needs to be adjusted to allow translation of these fields?

October 29, 2024 at 2:04 pm #16342658

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

That is because you have set those subfields to COPY, which means they are being copied from the default language, I advise checking the next doc and recommended Expert settings for each field type:

https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/

Regards,
Drazen

October 29, 2024 at 2:56 pm #16343091

daveM-12

Thanks for your reply. We have the sub-fields set to translate and not copy.

We have expert settings on and have checked so the top level repeater field has copy and sub-fields are set to translate.

I've attached and image showing one of the sub-fields which is set to translate.

Screenshot of Edit Field Group “Options” ‹ Intonation — WordPress.jpg
October 29, 2024 at 11:23 pm #16344421

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

You should use the "Copy once" settings. This will copy the value only once and from there on you should be able to edit it.

Take note, that also Repeaters and Groups should be set to "Copy once".

Same effect would be using the ACF Group translation preference "Different fields across languages". This will set all the fields automatically for your use case.

---

"Copy" will copy the vlaues each time you switch the language inside the top admin bar.

"Translate" will not have any effect. It's purpose is to make values available on the WPML Translation Editor and in your case you can not use the WPML Translation Editor for translating the ACF Options page.

The topic ‘[Closed] ACF Options fields locked and not translatable’ is closed to new replies.