Home›Support›English Support›[Closed] ACF repeater field images don't show up in English. Not in the translation editor either
[Closed] ACF repeater field images don't show up in English. Not in the translation editor either
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.
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?
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.
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.
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.
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.
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?
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.
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
The topic ‘[Closed] ACF repeater field images don't show up in English. Not in the translation editor either’ is closed to new replies.