-
AuthorPosts
-
April 21, 2021 at 4:42 pm #1295848
Dear support,
i’m using custom elements templates ina a site with 10 languages implemented with WPML plugin.
I’m following the documentation https://kriesi.at/documentation/enfold/custom-element-templates/#overview-and-settings.
I created for example a gallery with CET and i translated it with wpml like documentation says.
I’d like to edit the gallery, adding an image, and automatically update all translation. I made some tests but i have to edit manually the transaltion.
There is any way to make a modify on primary language and automatically update all translation?
ThanksApril 21, 2021 at 5:19 pm #1295854Hey sitebysite,
Thank you for using Enfold.
My first idea: are all images translated – did you lock the gallery images in the CET ?
If locked, then you can edit the gallery images only in the CET and not in the elements on a page.
If this does not help, please create an admin account for us so we can check your backend. Could be that we also need to get in contact with WPML.
And please also a link to the page – maybe you can create a test page with only 1 gallery so we can test.
Please also enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor
This lets you view the shortcode for all the page elements.
Best regards,
GünterApril 22, 2021 at 11:10 am #1295995Hi Günter,
all images are transalted and gallery locked in the CET.
Editing in the CET it works only for italian.
I enabled debug mode and i send you in private content info for login.
ThanksApril 22, 2021 at 11:44 am #1296006there is one possibility i see with enfold – but in your case you had to do that for each language.
On content elements you got that alb element : page-content.
If you place this element inside your pages – it will be synchronized whenever you edit that inserted page.i used this alb in former enfold versions to have a page as footer! But i do not know if this is what you are looking for.
April 22, 2021 at 5:29 pm #1296120Hi,
Thank you for the credentials. But I cannot log in (added to hosts file, but still does not work).
But I tried the following on my dev install and that worked for me:
– Create a page
– Click Button “Add New Custom Element”
– Create a “Gallery”
– Add 3 images to Gallery
– Lock the images of the gallery
– Save CET gallery
– Add a Special Heading to the page and add a title (to translate and to know which language)
– Add the custom gallery
– publish page
– Click Button “Edit Custom Element”
– hover over custom element Gallery and click green pencil left bottom to translate
– new Window opens, now translate special heading text using translation management to all languages, then close window
– Make sure, all images are translated
– Translate the page to all languages (actually only the special heading text)Now you should see the correct images in the different languages
Adding new images:
– Open any page
– Click Button “Edit Custom Element”
– Edit the custom Gallery – add e.g. an image – and save
– Now you must translate the custom gallery again in all languages to reflect the changes – this needs WPML to update and sync the page contentIf you now check the page it shows the new image and the translated image in the other languages (clear server cache when using a cache plugin)
Best regards,
GünterApril 23, 2021 at 10:42 am #1296281April 26, 2021 at 11:31 am #1296730Dear Günter,
thanks for your reply.When you say “Now you must translate the custom gallery again in all languages to reflect the changes – this needs WPML to update and sync the page content” what do you mean?
I don’t want to update the transaltion of CTE beacuse i have a site with 10 languages and a lot of galleries. I qant to add an image do CET element and automatically sing the transalated CET.
It’s possible?April 28, 2021 at 10:30 am #1297139Hi Gunter, any update please?
ThanksApril 28, 2021 at 1:01 pm #1297159Hi,
Sorry for the delay. Did you lock the Edit Gallery option? The Edit Gallery option should be locked if you want the changes to reflect on every language. Also, after adding a new image or after updating the CET, you have to edit it, click the Green Book button again and when you get to the Edit ALB Custom Element Template page, look for the Language > Translations section and update the translations. You will be redirected to the WPML’s Translation Editor, just save and close. These steps have to be repeated for every language.
Locked Edit Gallery option: https://imgur.com/mszvmCl
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.