Skip to content Skip to sidebar

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

Problem:
The client is experiencing issues with an image gallery not displaying in the translated versions of a page. The gallery is created using Elementor and the images are loaded dynamically from a meta field in Jet Engine. The issue arose after changing the installation to use separate domains for each language.

Solution:
If you're experiencing a similar issue with your image gallery not showing up in translated versions of your pages, we recommend the following steps:
1. Change the gallery field media type to 'Media ID'.
2. Ensure that the gallery field is set to 'Copy' under WPML > Settings > Custom Fields Translation.
3. Go to the concerned posts, make a small edit, and send them to translation again. This will allow WPML to recognize the new changes in fields.

We have created a video to guide you through the process: https://www.loom.com/share/01111c7b077747ab815a840780ee22ef

If this solution doesn't seem relevant to your issue, please open a new support ticket with us for further assistance: 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 5 replies, has 2 voices.

Last updated by Ilyes 1 year, 6 months ago.

Assisted by: Ilyes.

Author Posts
December 15, 2023 at 1:56 pm

andersI-5

I have problems with the image gallery that does not show up in translated vertions of the page.

December 15, 2023 at 3:13 pm
December 18, 2023 at 3:35 pm #15085735

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for your patience over the weekend,

As of now, your site was shared with our 2nd tier, the _galleri field will be changed from copy to translate and the other way around for testing purposes.

There might be a possibility to replicate this issue on one of our servers in case of compatibility issue, which we need your help with, I will let you know if we need to do that.

Hopefully we can get a quick fix from our developers,

Thank you for your patience,

December 19, 2023 at 8:59 am #15089931

andersI-5

Thank you! We have added translated URLs for images gallery on many of the posts. The ones in the taxonomi Fylke: Vestland is not translated yet.

Is it OK that we work on content on some of the posts while we wait for changes in the gallery?

December 19, 2023 at 3:16 pm #15094223

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello again,

We have actually found a solution to your issue, I have recorded a video to better show you what was changed : hidden link

So in short, here is what we need to do for it to work :

1- Change the gallery field media type to Media ID
2- Make sure that the field galleri is set to copy under wpml > settings > custom fields translation
3- Go to the concerned posts, do a small edit to it and send it to translation again, this will let WPML notice the new changes in fields

Please let me know if you have any other questions about this,

Best,

December 20, 2023 at 4:12 pm #15104635

andersI-5

Hello again,

Thank you for the exploratory video. I'm afraid I still have issues here.

I have changed the _galleri field to Media ID.

Suddenly wordpress has started to log me out when changing domain/language.

When I try to add a new draft and translate it I get a 404 page when I try to preview the translated page. Also if I try to publish the new draft for a short time, I get 404-page.

"Auto sign-in and sign-out users from all domains" is checked in the WPML settings.

I tried to change to "advanced translation editor" for new posts. This gave me problems when I had to edit a page (hidden link) I had to add all the translated text again....!

One of the posts I have tried to edit in classic mode is this one: hidden link and hidden link. (Made a small change to original and then translated.)

The thumb image on the post looks strange. See screenshot.

I hope this was understandable...

Could you please have a look at it again?

Are there something I've missed here?

Best regards,

Siv

Screenshot at Dec 20 17-11-06.png
December 21, 2023 at 5:01 pm #15112401

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello Siv,

Thank you for the follow-up,

1- WordPress login/logout:

This might be because I didn't change the settings back to "via GET" : hidden link

My apology as I have changed it to "post" for testing purposes and it might be explaining that behavior, please re-save your permalinks and test it out again

2- Changing to the new translation editor :

I'm afraid that re-doing the translation is unavoidable if you want to use the advanced translation editor (ATE) instead of the classic one (CTE), a small tip is to simply open the posts with CTE in a new window, then change to ATE, open it in another window and copy the content from CTE window to ATE one.

You read more about it here : https://wpml.org/documentation/translating-your-contents/using-the-translation-editor/switching-from-classic-to-advanced-translation-editor/#copy-paste-translations

3- Thumbnails missing

This issue doesn't seem to be related to WPML as it replicates when disabling our WPML plugins, could you please contact Jet Engine team as they might be aware of such issue, seems to be a general one.

When inspecting the code, it is a simple call to the picture URL, which should be accessible without an issue, WPML shouldn't have an affect on it : hidden link

4- The previously shared solution

It seems like only New translated posts or posts that are translated with ATE are the only ones functional, would you think it could be possible to simply retranslate everything with ATE, to make it easier for you, we are willing to assign some credits to your site that could be used in automatic translation.

Please let me know how you want to go from here knowing all the details above,

Best,