[Resolved] jet engine gallery - domain per language
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.
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,
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,
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.
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.
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,