Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is working with WPML and ACF in a WordPress site using Kadence Elements and faces issues with field settings and saving options. Specifically, the client is confused about the difference between Custom Fields and System Fields in WPML, why system fields are unlocked while custom fields are locked, and how to ensure selections for days of the week save correctly in custom fields within a Kadence Element.

Solution:
1) Custom Fields vs. System Fields: System fields in WPML are additional backend fields used by ACF to connect custom fields across different pages or layouts. For more detailed information, we recommend checking the ACF documentation at ACF FAQs.

2) Creating multilingual days of the week: To handle multilingual options for days of the week, set up the fields in the default language using ACF and then translate them using WPML. Ensure that the ACF group settings are correctly configured for translation. More guidance can be found at Translating ACF sites with WPML.

3) Saving selections in custom fields: Avoid directly altering the custom field translation settings in WPML, as these are automatically managed based on the ACF group's configuration. Instead, create and manage your fields within an ACF group and use the WPML editor for translations.

If these solutions do not resolve your issues or seem outdated, or if they do not apply to your specific case, please open a new support ticket. We also highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, visit our support forum 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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Dražen 10 months, 3 weeks ago.

Assisted by: Dražen.

Author Posts
July 9, 2024 at 7:11 pm #15922741

jonathanW-40

Background of the issue:
I am working on a WordPress site (hidden link) and need help with issues related to WPML and ACF (Advanced Custom Fields) with Kadence Elements.

Symptoms:
1) What is the difference between Custom Fields and System Fields in WPML?
Why are System Fields unlocked while Custom Fields are locked in WPML?

2) What is the best way to create different Days of Weeks options (one for English, one for Spanish)?
Why is one Custom Field unlocked and another locked in WPML even though they were copied from each other?

3) How can I get my selections for days of the week to save in Custom Fields (ACF) within a Kadence Element?

Questions:
1) What is the difference between Custom Fields and System Fields in WPML?
Why are System Fields unlocked while Custom Fields are locked in WPML?

2) What is the best way to create different Days of Weeks options (one for English, one for Spanish)?
Why is one Custom Field unlocked and another locked in WPML even though they were copied from each other?

3) How can I get my selections for days of the week to save in Custom Fields (ACF) within a Kadence Element?

Question 1 (above): What is the difference between Custom Fields and System Fields:
In WordPress Dashboard, navigating to:
—> WPML —> Settings —> Custom Fields Translation
You are given the option to “Show system fields”
What is the difference between Custom Fields and System Fields:
Days_Option_1_Schedule_Aesth << Custom Field?
_Days_Option_1_Schedule_Aesth << System Field?

Why are System Fields unlocked but Custom Fields are locked?

Question 3 (above): Fields (ACF) in Kadence Element are not saving:
In WordPress Admin Dashboard navigate to:
--> Courses (Aesth) --> 600 HOUR BASIC AESTHETICS LICENSURE --> Days Option 1 - Schedule (Aesth)
I'm attempting to select and save checkboxes (days of the week: M,Tu,W,Th,F,Sa,Su)
But, for example, when I select: Tu, W, F and then update (save) the element, page refreshes but my selection (Tu,W,F) is not saved.
How can I get my selections to save?

**If you look in: —> WPML —> Settings —> Custom Fields Translation:
Days_Option_1_Schedule_Aesth << Custom Field is unlocked
Days_Option_2_Schedule_Aesth << Custom Field is locked
Why is this? (Shouldn’t they be the same, since I copied Option 2 from Option 1)

July 10, 2024 at 3:39 am #15924769

jonathanW-40

Hi, is there someone here that I chat with?

July 10, 2024 at 6:21 am #15925828

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for contacting us.

You have opened a forum ticket, you can also open new chat if you wish by creating new report and asking supporters to close this chat.

As for your doubts, please note we limit 1 issue per ticket to keep things clear, so if needed we will open new tickets for those:

1) ACF also uses additional system fields in the backend related to custom fields, that connect them in DB or different different pages, layouts and etc. I advise checking ACF docs and support forum for more info on this:

- hidden link

2) You can use ACF choice and create days of the week. It is locked in 2nd language, since you should not manually edit the translated page. You should add everything in the default page and then translate it. This is also different depending on the mode you set for ACF group, please check:
- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

3) I advise not messing with custom field translation settings directly, those are set by WPML depending on the mode. You should create an ACF group, set WPML mode in there, and then create and translate the page via the WPML editor.

You can not edit 2nd language, those are copied from default language since you are using Same fields across language mode, if you wish to manually translate pages and not use WPML editor, you can use Different fields across language mode, and translate via WordPress editor.

Regards,
Drazen