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.

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)

Tagged: 

This topic contains 27 replies, has 3 voices.

Last updated by Andreas W. 3 weeks ago.

Assisted by: Andreas W..

Author Posts
September 26, 2024 at 2:57 pm

frisoV-2

Background of the issue:
I tried making the images for a gallery (using ACF repeater field) translatable but even so, they don't show up in the translation editor. WPML should just use the same URL in English as in my default language, Dutch. But it is not showing up anywhere.

Link to screenrecording: hidden link

Symptoms:
ACF repeater field images don't show up in English. Not in the translation editor either.

Questions:
Why don't the ACF repeater field images show up in the translation editor?
How can I make the images for a gallery translatable using WPML?

September 26, 2024 at 3:42 pm
September 26, 2024 at 3:49 pm #16226376

frisoV-2

Hi! I've created another copy for you to work on: hidden link

All the same logins should work.

September 26, 2024 at 5:36 pm #16227026

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

I got an error message: Fout: de gebruikersnaam Testbunny2 is niet geregistreerd op deze site. Als je niet zeker bent van je gebruikersnaam, probeer je e-mailadres in plaats daarvan.

Can you please verify? I've enabled the private fields again.

September 26, 2024 at 6:00 pm
September 26, 2024 at 6:51 pm #16227227

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thanks for sharing. I'm still investigating and will be back as soon as I have new information.

September 26, 2024 at 6:54 pm #16227231

frisoV-2

Much appreciated 🙂

September 27, 2024 at 12:22 pm #16229761

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

In the staging version, I've deactivated all plugins that are not related to the issue, so our devs can analyze your website more effectively. Please leave it as it is for a while. Thanks in advance.

I'll get back as soon as I hear from them.

September 27, 2024 at 1:14 pm #16230015

frisoV-2

Hi Lucas, understood. Just know I'll continue work on another copy. So once we figure out the issue, we'll have to duplicate the solution there. Thanks again.

September 30, 2024 at 7:38 pm #16237508

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there, I'm still checking your issue and discussing a few specific points with the devs. I'll get back soon.

September 30, 2024 at 9:42 pm #16237708

frisoV-2

Okay, thanks!

October 1, 2024 at 1:23 pm #16240695

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for waiting. I've got feedback from our devs. It seems that the issue was being caused by the Avada Builder Template used for the Artiests. Please make a full website backup and follow these steps:

1. Change the Galerij field to "Copy once";
2. Change the Afbeelding field to "Copy once";
3. Save your changes;
4. In WPML > Settings > Post Type Translations, change the Artiest CPT to "Translatable - only show translated items" and save;
5. Make a small change to the "Artist content" template and save. You can add a blank space to some text, for example;
6. Update the "Artist content" translation;

Let me know if after that the translations show the images, as expected. If not, it will be perhaps necessary to edit the DB.

October 2, 2024 at 10:29 am #16244878

frisoV-2

Hi Lucas, I just tried it on the live site, which we published last night (I've set the section to draft while we work this out). I believe I followed the steps closely, but unfortunately, I still don't see the gallery on the English site. What do you suggest now?

October 2, 2024 at 1:02 pm #16245715

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thanks for sharing your results. In the staging version, we actually fixed it by directly changing the template data in the DB. Perhaps it is also necessary on your side. We generally avoid suggesting changes in the Database, but I think in this case we need it.

Please follow these steps:

1. Get the ID of the template's translation. To do that, open the edit page of "Artist Content" in Dutch, change it to EN in the top-bar and get the ID in the URL. Check image;
2. Open your DB Adminer. You can use phpMyAdmin, in your hosting CPanel, for example;
3. Visit the _posts table. Note that there's always a prefix before "_posts";
4. Find the post that has the ID you found on step #01. In my case, it was the 15588.
5. Find any occurrence of image_id="0" and change it to image_id="";

Let me know if it works this way or if that's too advanced for you.

Screenshot 2024-10-02 at 09.21.52.jpg
Select_ adf_posts - Adminer.jpeg
Edit_ adf_posts - Adminer.jpeg
October 2, 2024 at 7:37 pm #16247255

frisoV-2

Hi Lucas, I was able to follow your clear instructions without a problem. And it did indeed solve the issue!

However... as soon as I edited the layout page again (ID 15588) the image_id="" reverted back to image_id="0" and the gallery was gone again. I tested this a few times. So there is still something strange going on.

For now I leave the layout untouched and the gallery is visible. But there is an underlying problem somewhere that needs to be resolved.

You can view the gallery English here hidden link

Screenshot 2024-10-02 at 21.18.17.png
Screenshot 2024-10-02 at 21.17.07.png

The topic ‘[Closed] ACF repeater field images don't show up in English. Not in the translation editor either’ is closed to new replies.