Skip to content Skip to sidebar

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

Problem:
The client was experiencing an issue where the Gallery images in the existing Gallery field were not displaying after adding a new German language to the site using WPML.

Solution:
We recommended checking the ACF multilingual configuration in WPML -> Settings -> Custom fields translation section and verifying any errors in the debug.log file. Additionally, we suggested creating a staging site to reproduce the issue without affecting the live site. After further investigation, it was found that another developer had added code to the WPCode Lite Plugin that caused the gallery images to load directly from a folder, bypassing the admin. We advised removing or adjusting this code to resolve the issue.

Please note that this solution might be outdated or not applicable to your specific 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. If the issue persists, 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 18 replies, has 0 voices.

Last updated by Carlos Rojas 9 months, 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
June 23, 2025 at 12:01 pm #17159986

danubeP

Background of the issue:
I have a Gallery Images field in the Portfolio Post Type on my site hidden link. Initially, it worked fine. Recently, I added a new German language to the site using WPML, and now the Gallery images won't display in the Gallery field. I created a new Gallery field with a different name, and it works fine, but the old one is not working.

Symptoms:
Gallery images in the existing Gallery field do not display after adding a new language.

Questions:
What is causing the existing Gallery field to not display images after adding a new language?
How can I resolve the issue with the Gallery field not displaying images?

June 23, 2025 at 12:11 pm #17160088

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi there,
This is the forum ticket where we will continue working.

Your next message will be private so you can securely share the access credentials to the staging site.

June 25, 2025 at 12:47 pm #17169281

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for creating the staging site and sharing the access credentials.

Please share the URL to edit the gallery custom fields, or share a link to a video where you describe step-by-step how to edit this custom field.

June 26, 2025 at 6:34 am #17171442

danubeP

Hello,

You can Edit the ACF Gallery field:
hidden link

Field Name: danube_media_gallery_images

June 26, 2025 at 7:07 am #17171595

danubeP

Hello Carlos,

I hope you are Well!

Please check my last reply on this Thread, I need guidance from you to resolve it asap because my website is already Live.

Hope you understood my concern, Thanks!!

June 26, 2025 at 9:07 am #17172397

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

I'm seeing a few errors in the backend of your site related to the writing permission for /mo files. Also, when I edit a portfolio like hidden link to reproduce the issue, there are several errors in the Javascript Console that might be causing this problem.

Last but not least, I can see you are using the Expert mode in hidden link Why is that?

If you create a staging site with a copy of the live site, we can run further tests. As an alternative, if you confirm you have a full site backup that you can restore if necessary and authorize us, we can run further tests on the site.

Looking forward to your answer.

June 26, 2025 at 10:15 am #17172788

danubeP

Yes, You can Edit/Update anything on the Staging site.
It's the cloned version of my Live Site with Latest Data.

And Why we don't use Expert mode? What is the use of that?

June 26, 2025 at 12:32 pm #17173497

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for your authorization.

The question was, why are you using the Expert mode in hidden link (you can see it at the top) instead of the 'Same fields across languages' mode?

June 27, 2025 at 4:51 am #17175600

danubeP

So if we use 'Same fields across languages' mode then can we Change the Field text different in another Language or Not?

June 27, 2025 at 7:38 am #17176099

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,
You aren't answering my question, and I don't understand your latest one 🙂

Please read this section of our documentation https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#choosing-how-to-translate-field-groups, where you will see each configuration and what they are used for.

June 27, 2025 at 7:55 am #17176252

danubeP

Hello Carlos,

Please change the Field Settings as you can and Please Provide me the Solution of my Gallery issue.

If these are in the Expert mode then you can Check other Post type Gallery filed also:
"Construction Project Fields"

Here also i got the same issue like Project Post type.

June 27, 2025 at 8:23 am #17176435

Carlos Rojas
WPML Supporter since 03/2017

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

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

Sure! We are more than happy to help.

But before we continue, I need to ask you to contact your hosting providers and request them to make the files and folder writing permission as described in this link: hidden link

You can see in the backend the warning message indicating the String Translation can't write in the languages directory.

June 27, 2025 at 9:46 am #17176853

danubeP

Thanks,

I'll connect with the Server Support guy to Update the File permissions.

June 27, 2025 at 10:33 am #17177024

Carlos Rojas
WPML Supporter since 03/2017

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

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

Great!

I will be waiting for your message.

June 30, 2025 at 7:45 am #17181492

danubeP

Hello Carlos,

Hope you are doing Well!
Thanks for the Your patience.

Now The permission issue resolved on the Staging site, Could you Please check it and guide me how can i resolve the Issue of ACF Gallery Field.

Thanks.