Skip Navigation

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

Problem:
You have created a custom post type named "Apartmány" using ACF PRO and are using a Bricks builder gallery module with dynamic data. After translating the post, the images are visible in the editor but not on the frontend in languages other than Czech.
Solution:
We recommend adjusting the settings in ACF to ensure the gallery images display correctly across different languages. Here are the steps:
1. Navigate to your WordPress Dashboard > ACF > Field Groups > Vlastnosti apartmánu.
2. At the top, you will find three options. Select the "Same fields across languages" option.
3. Save the Field Group.
4. Go to WordPress Dashboard > Apartmány.
5. Click the pencil icon next to one of the Apartment entries and click the translation complete option in the Advanced Translation editor.
This adjustment should resolve the issue with the gallery images not displaying on the frontend in translated versions.

Please note that this solution might be outdated or not applicable to your specific case. If this does not resolve your issue, 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 problem persists, please open a new support ticket.

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 0 replies, has 0 voices.

Last updated by Christopher Amirian 2 weeks, 3 days ago.

Assisted by: Christopher Amirian.

Author Posts
November 26, 2024 at 1:43 pm #16445115

biankaS-2

Background of the issue:
I have created my own custom post type named "Apartmány" using ACF PRO. Everything works fine, except for gallery images. I am using my own template built with Bricks builder and have a section with the title "Galerie". Under the section, I have a Bricks builder gallery module with dynamic data using {acf_galerie_nemovitosti}.

Symptoms:
After post translation, I can see the images when editing the page, but they are not showing on the frontend. The gallery module containing images works only when the original language (Czech) is being used.

Questions:
Why are the gallery images not showing on the frontend after translation?
How can I make the gallery module work in languages other than Czech?

November 26, 2024 at 2:01 pm #16445289

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for contacting our support. Please get back to us with the page link for the clean installation that you replicated the Bricks Gallery Dynamic option problem.

I will check that and do my best to troubleshoot first. If I fail, I will report this to the compatibility team and will keep you in the loop.

Thank you.

November 28, 2024 at 11:44 am #16454785

biankaS-2

I have created a duplicate of the problematic website on your testing server because I was unable to get ACF working properly on a clean installation. Please take a look and let me know if you can identify the issue.
Thank you

November 28, 2024 at 1:21 pm #16455276

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Unfortunately, that will not help as I need to provide the issue in a clean installation to the compatibility team.

I can take a look into the installation but if I fail to find a solution we have to replicate the issue on a clean installation.

For now would you please provide the login info for the imported website? I can not use the link provided before as your installation now does not allow to use the link to enter.

Please set the next reply as private to provide the login info.

If I fail to find a solution I will create a new installation and ask you to install bricks there.

Thanks

December 2, 2024 at 2:08 pm #16466633

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for the login information. Unfortunately, that does not help as even WPML do not work when I want to check the translation.

it seems importing the website to the Sandbox broke something.

I do appreciate it if you could replicate the issue on a clean installation.

To help things out I created a post type called Apartments and added an ACF field group with a gallery option.

I also added some sample Posts containing some sample information for that custom post type.

Would you please install Brick on this installation?

hidden link

Try to add a template for the apartment post type and use the field I created in ACF.

Thanks.

December 3, 2024 at 3:40 pm #16472816

biankaS-2

Hi there,
thank you, I have already activated Bricks licence and created apartments template. Everything for testing is prepared. Can you please take a look at that? Thanks

December 4, 2024 at 10:58 am #16476104

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you very much. I reported this to the compatibility team.

I will be back to you as soon as I have news. It might take time.

Thanks.

December 5, 2024 at 6:15 am #16479289

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The compatibility team managed to see the correct gallery work by simply installing the Advanced Custom Fields Multilingual plugins:

hidden link

This shows that there is no inherent compatibility issue with Bricks in the scenario and it should be some problem on your website.

As the previously imported website WOPML portion does not work, I'd appreciate it if you could copy your website to a staging version and get back to us with the login information so we can check your website specifically to see if we can find why it is not working there.

Thanks.

December 5, 2024 at 12:36 pm #16481417

biankaS-2

Hi,
nice to hear that, I have uploaded copy of the website to the staging version, but I cannot restore it, because I was logged out. It neverminds, you can find the copy of the website in plugin "WPVivid" and simply restore it.
Thank you for your time!

December 10, 2024 at 2:15 pm #16498779

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you. The issue was the setting that you need to set in ACF.

Please go to WordPress Dashboard > ACF > Field Groups > Vlastnosti apartmánu

You will see three options at the top. (screenshot)

Select the "Same fields across languages" options.

Save the Field Group.

Go to WordPress Dashboard > Apartmány

Click the pencil icon next to one of the Apartment entries and click the translation complete option in the Advanced Translation editor.

That should fix the issue.

As an example I fixed this entry in the copied website:

hidden link

Thanks.

Screenshot 2024-12-10 at 6.13.37 PM.png