Skip to content Skip to sidebar

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

Problem:
You are trying to display a repeater field from ACF on the front end of your site, and it is visible in the default language (French) but not in the other two languages. You suspect this might be a WPML issue.
Solution:
We recommend that you edit your repeater field and subfields to remove any '+' signs from the field names. After making this change, please update the post translation in the default language along with its translations. According to the ACF documentation, field names should only include letters, numbers, hyphens, and underscores.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, if you need further assistance, please open a new support ticket 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 17 replies, has 2 voices.

Last updated by Osama Mersal 1 year ago.

Assisted by: Osama Mersal.

Author Posts
October 18, 2024 at 3:59 pm #16305634

johannA-4

Background of the issue:
I am trying to display a repeater field from ACF on the front end of my site hidden link. The repeater field is visible in the default language (French), but not in the other two languages. I suspect this is a WPML issue. I have followed the ACF documentation for the repeater field, and it works in the default language.

Symptoms:
The repeater field is not visible on the front end in the two non-default languages, but it is visible in the default language.

Questions:
Why is the repeater field not displaying in the non-default languages?
What steps can I take to resolve the issue with the repeater field in WPML?

October 20, 2024 at 10:42 am #16308500

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

October 20, 2024 at 2:03 pm #16308751

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. Please check the following steps:

1- Go to your database manager, for example, PhpMyAdmin
2- Go to the "wp_options" table
3- Search for the "icl_sitepress_settings" key
4- Delete this key
5- Go to your site's dashboard
6- Configure WPML
7- Edit all the custom field groups
8- Save all the field groups
9- Edit the post in the default language
10- Make a minor edit and update it
11- Update the translation using the translation editor

❌ Please backup your database before the above steps ❌

After that, please check the post in English to see if the fields are translated correctly.

Currently, these fields are empty in English. (Kindly check this hidden link">screenshot)

Best regards,
Osama

October 20, 2024 at 2:08 pm #16308755

johannA-4

Hello Ossama,
if for exemple you chack this post : hidden link
it looks empty but has translation (see screenshot).

Capture d’écran 2024-10-20 à 16.07.07.png
October 20, 2024 at 2:10 pm #16308771

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

If you edited the English post using hidden link">WordPress editor, you would see the fields empty because they are not added to the fields.

Please try the steps in my previous reply and let me know if they fixed the issue.

Best regards,
Osama

October 20, 2024 at 2:20 pm #16308781

johannA-4

Hi Osama, will i loose all my existing translations ?

October 20, 2024 at 2:40 pm #16308807

johannA-4

Hi Osama, i've did it in my test site, nothing changed.
If I remove the key on my production site can you try yourself ? maybe i did something wrong.
I give you the permission to try.

Do i need to remove the whole line inn my DB (screenshot) or juste "delete" > "icl_sitepress_settings" in option_name ?

Capture d’écran 2024-10-20 à 16.42.20.png
October 20, 2024 at 2:43 pm #16308813

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I think it would be better if you shared the test site access details so we can try safely without affecting your live site.

Best regards,
Osama

October 20, 2024 at 3:05 pm #16308843

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I updated a post and its translation. Please check if it works correctly on the front end. (hidden link)

Best regards,
Osama

October 20, 2024 at 3:18 pm #16308925

johannA-4

Hi Osma, this CPT work perfectly, please help me on the other CPT : oeuvre like for exemple : hidden link

October 20, 2024 at 3:28 pm #16308971

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Would you please update the WPML and ACF plugins to the latest version on the test site?

If that doesn't help, I'll install the duplicator plugin to create a local copy of your site, debug the issue further, and consult our second-tier support team if needed.

Best regards,
Osama

October 20, 2024 at 3:41 pm #16309056

johannA-4

Hi Osma,
All plugins are up to date.
Thanks a lot

October 21, 2024 at 8:42 am #16310878

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for updating the plugins. I've consulted our 2nd tier support team, and I'll update you as soon as they reply.

Best regards,
Osama

October 21, 2024 at 1:22 pm #16312468

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please edit your repeater field and subfields to remove the + sign from the field name.

After that, please update the post translation in the default language along with its translation.

Note: The ACF description says you can use letters, numbers, hyphens, and underscores; it doesn't include anything else, even if it doesn't prevent you from using other characters.

Best regards,
Osama

2024-10-21_16-20-15.png
October 21, 2024 at 1:59 pm #16312727

johannA-4

OK i'll do that, but i need time because changing the name of the field alter all exisiting fields, i need to rename them with my phpmyadmin.
Is it ok if you get my answer tomorow ?
please don't close the ticket