This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing several issues with translations on a site built with Jet Engine and Elementor:
1) Translations were not showing in Jet Popups for basic text fields from Elementor.
2) Repeater fields were not displaying translations.
3) Other custom fields were not showing translations in regular Elementor popups.
Solution:
1) For missing translations in Elementor Popups:
- Ensure that category name translations are updated in the Translation Editor.
- For checkbox fields not showing translations, create a glossary with all options, integrate these into your meta-boxes, and add translations for these options. Make a minor edit to the default post and update the changes and its translation.
2) For content not appearing translated within JetPopup:
- Replace the current popup template ID with the ID of the translated popup template within the translation editor. Make a small change to the listing template and update the changes, then update the translation of the template.
3) For the issue with options within the "SIRVE" section in the Dining area:
- Apply the same method as in point 1) for checkbox fields.
4) For the video before the "Amenities" section not showing the Thumbnail:
- Clear the caches from the site and browser.
Additionally, for the button text not showing translations, a typo in the XML configuration was corrected, and the button name appeared in the Translation editor. The button text is now showing translated in the Spanish version.
If the solution provided here is not relevant to your case, either because it's outdated or not applicable, we recommend opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us in the 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: Documentation request, Exception
This topic contains 12 replies, has 2 voices.
Last updated by estebanP-3 1 year, 2 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
March 27, 2024 at 9:41 pm #15458148 | |
estebanP-3 |
Tell us what you are trying to do? - I have a site built with jet engine and I have translated all the fields (either by translating the post and the string translation, searching also for others not being shown. There are several problems: 1) On the Jet Popups the basic text fields from Elementor are not showing the translations. 2) Repeater fields are not showing translations (it's a glossary that has the terms translated in the string translations, and they are selected as checkboxes). 3) Other custom fields are not showing the translation on regular Elementor popups. Is there any documentation that you are following? - I saw this post but it did not help: https://wpml.org/forums/topic/jet-engine-repeater-fields-not-being-translated/ Is there a similar example that we can see? - no What is the link to your site? - The original site is: hidden link and I have made a staging site leaving only elementor, WPML and crocoblocks plugins activated: hidden link |
March 28, 2024 at 7:23 am #15458935 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I understand the issue you're having. Since you haven't specified the pages where you're having the issues, I went ahead and reviewed the Spanish homepage. The content, including pop-ups and other page elements, appears to be accurately translated. For instance, here's a screenshot (hidden link) of the pop-up that shows up when you click the 'Ver' button in the "Vista Rápida" section. As far as I checked the contents of the Spanish homepage are correct. Could you please share the specific pages where you're having the issue? It would be better if you can share a screenshot along with the page link where the problem occurs would greatly help in clearly identifying and addressing the issue more effectively. I hope you can understand. Looking forward to your response. Best regards, |
March 28, 2024 at 11:57 am #15460261 | |
estebanP-3 |
Hi Prosenjit, Thanks for your message. On your specific image, several parts are not translated. See the images attached and the guide as follows: Image 1: In the one you show, you can see the different parts marked in red. This one is created within the Elementor popup. Image 2 A, B & C: On the accommodation section in the "MÁS DETALLES" button you can see a popup (created through JetPopup, needed to show this type of dynamic info on a listing grid within a post type. Can't do it with the regular Elementor popup). Image 3: In the dining section, within the listing grid the "SIRVE" part should show the same info that is shown within the quick facts section on image 1. Image 4: Before the amenities section this video is not showing the image overlay like the one on the top. It is translated (copy option), I did it yesterday. Thanks. |
March 29, 2024 at 7:02 am #15463136 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, The issues you've mentioned appear to stem from how the translation options are set for custom fields. The first action should be to navigate to "WPML > Settings > Custom Field Translation" and check that the fields containing the content you wish to translate are designated as "Translatable". Specifically, for the fixed text highlighted in your screenshot, make sure the corresponding field is set to "Translatable". Moving forward, for dynamic content, it's crucial to translate the content directly from its source. For instance, if the dynamic content originates from a specific post type, you should verify that all the content within that post type is completely translated. Given that the content involves numerous custom fields, identifying the exact source of the issue through frontend inspection becomes quite challenging. Therefore, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you. IMPORTANT Looking forward to your response. Best Regards, |
April 1, 2024 at 3:33 am #15467937 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi, I tried to log into your site with the credentials provided, but they seem to be incorrect. Please check this screenshot: hidden link The FTP login is also not working. Could you please check and share the correct access credentials? The private box is enabled for you so that you can securely share them. Looking forward to your response. Best regards, |
April 2, 2024 at 7:04 am #15471147 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I've carefully reviewed and added responses to each issue below. 1 - Some contents aren't showing Translated within the Elementor Popup: Please apply similar updates to the category name translations for other rooms to ensure they are accurately represented on the frontend. 1.2 -- Contents added using Checkbox not showing translated: As per the documentation of Crocoblock:
Link: hidden link The checkbox field seems one of them, which is why checkbox labels don't appear translated in the front end. The Crocoblock team has recommended a workaround involving the use of a glossary for the Checkbox. Could you please try this solution and check if it resolves the issue? - First, create a glossary that includes all necessary options, as shown here: hidden link. 2 - Contents not appears translated within the JetPopup: After investigating, I discovered that the popup content is correctly translated when I view the standalone popup template on the frontend(hidden link). However, the issue seems to stem from the translated listing where the default popup was linked to the button, which is why, the default popup was showing in other language. To resolve the problem, the popup template ID linked to the button needs to be translated. This means we should replace the current ID with the ID of the translated popup template within the translation editor. Please try the solution outlined in this response(https://wpml.org/de/forums/topic/plugin-jet-popup-titel-element-wird-nicht-uebersezt/#post-13574385) and I hope it will help. After adding the code, make sure to make a small change to the listing template(where you have attached the popup with the button) and update the changes. Then you can proceed to update the translation of the template. In the editor, just search the ID of the default popup template, which is '1441' and if it appears in the result, add '3041' as translation, which is the translated popup ID. 3 - The issue with the options within "SIRVE" in the Dining section: This issue can be addressed using the same method outlined in point 1.2. 4- Video Before the "Amenities" section not showing the Thumbnail: I have properly checked the section and can see that the Thumbnail is now showing with the video. Please check this screenshot: hidden link I also checked from incognito and other browsers and can confirm that the image is showing correctly. Would you please clear the caches from your site and browser and then check again? I hope the detailed explanation above is helpful. I aimed to provide as much relevant information as possible to thoroughly address the issue, which may have extended the message. Please take your time to review and implement the suggestions, and don't hesitate to reach out for any updates or further assistance you might need. I'm here to help! Best regards, |
April 2, 2024 at 10:32 pm #15475352 | |
estebanP-3 |
Thank you for your wonderful detailed assistance. 1.1) I have manged to make the room categories work by translating them 1.2) I have created the glosaries, replaced the manual inputs with the glosaries in each of the 3 instances I needed (meals, swimming pool and fitness center), and I have translated the content in the string translation. I then went into the editor for the hotel post and made a change, saved and didn't see the translated content. Then also went into all the different listing grids and popups involved in all these areas, made a change, saved, didn't see the changes, changed the content back. I even tried by creating a new post, a new hotel, and selecting those checkboxes so they may show once that post was translated into Spanish but the fields did not show the translation (neither on the VIEW MORE popup or the dinning options). Can you check on your side? 2) Same as 1.2, I have copied and pasted that thread you shared from WPML in german to the XML configuration, then added the code into the child theme (buddyboss) and then went into the listing grid where the button for the rooms is, edited the button (which is an elementor widget), changed the english version from MORE DETAILS to MORE DETAIL, saved, but when I went to edit the translation I couldn't find anything new, no ID to translate. Couldn't even see it on the string editor. Can you check? 3) Mentioned already in 1.2 4) Screenshot is ok and showing. I made all the previously mentioned changes on the production site, deleted the previous copy of the newsite and re-created it from the newest version of the production site. You can login with the original details. Let me know, thanks. Thanks. |
April 3, 2024 at 6:03 am #15476055 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Happy to see that 2 of the issues have been resolved. For 1.2: The labels for the checkboxes are now correctly displayed in translation on the front end. To achieve this, it was necessary to activate the "Save as Array" option in the "Serves" checkbox field within the "Dining" repeater field (refer to screenshot: hidden link). I proceeded to turn on this setting, reselected the checkboxes from the "Dining" section of the "Delaire Graff" post, and saved the updates. When updating the translation, the checkbox labels became accessible in the Translation Editor, where I entered their translations. Subsequently, the translations began to appear accurately on the front end. Please check this screenshot for a better understanding: hidden link. Kindly replicate this configuration adjustment for any other checkbox fields to ensure their translations are also visible on the front end. For 2: Upon review, I confirmed that the code was correctly implemented in the functions.php file; however, the XML configuration was initially absent. After adding the necessary configuration in WPML > Settings > Custom XML tab, I opened the "Listing de rooms para brochure hotel" listing in the Elementor Editor. There, I first detached the JetPopup from the button and saved the changes. After that, I added the JetPopup to the button and saved the changes to trigger translation updates. After that, I proceeded to update the translation. In the Translation Editor, by searching for the Popup's ID, I was able to locate it in the results. I then entered the ID of the translated Popup template in the Translation field (as shown in the screenshot: hidden link) and saved the translation. Following these adjustments, the Popup began displaying correctly in the Spanish version. Please check this screenshot for a better understanding: hidden link. I hope all of your concerns have been addressed properly. Please feel free to let me know if you need further assistance in this matter. I will be happy to help. Best regards, |
April 3, 2024 at 12:01 pm #15478017 | |
estebanP-3 |
Thank you Prosenjit, this has solved all the problems. I have replicated them all within the production site. Just one note: at first for point 2 I couldn't find the 1441 within the ATE, but then I looked closely and read in detail your sentence and I had to input the number within the search field to find the ID. Just for future matters (for all users), could it be possible to have it show without searching?, or due to the whole XML/php workarounds it wouldn't be possible? Thanks for your wonderful assistance! |
April 3, 2024 at 12:16 pm #15478043 | |
estebanP-3 |
Wait, now I noticed that the button is not showing the translation of the button itself. I searched for it within the ATE with the search box (which I don't need right now to use the ID). I did translate it within the string translation but it's still not showing. I cleared the cache of the browser and still don't see it. Check the attached image. Let me know. |
April 3, 2024 at 8:56 pm #15480479 | |
estebanP-3 |
I found another issue. There's another brochure that has another listing grid with another set of buttons. I followed the same steps as the other one. The original design had the button as a title widget, so I changed it to the same button as the initial listing grid. I detached the copied popup, I then chose the new one and I could find the ID on the ATE, so I translated it from 2633 to 3044. This design has 2 sets of buttons, so the ID's are the same. I translated both. However, I don't see the content fully translated like before. Could this be due to having 2 buttons within the same design? The brochure is this one: hidden link. I re-installed the newest staging site based on all my changes on the production site. The problem mentioned before about the button not being shown translated now was also showing that way on the staging site, so it's not something new that I did. Again, same login details as before. |
April 4, 2024 at 4:05 am #15480902 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, By default, in the Translation editor, we hide numbers, URLs, and HTML attributes to prevent their Automatic translation by the Automatic translation feature, which could lead to multiple problems in the translated version. So, it would be better if you could search and translate the ID. Regarding the Problem with Button text translation - It happened due to a typo in the XML configuration that was added yesterday. I fixed that and the Button name appeared in the Translation editor(hidden link). The button text is now showing translated in the Spanish version. About the additional issue you mentioned, I've reviewed all the popups on the page you provided and verified that they display translated content. Could you please share the exact section where you're experiencing difficulties? Sharing a screenshot of the problematic area would greatly help in fully understanding the issue and offer more precise assistance. Looking forward to your response. Best regards, |
April 4, 2024 at 9:51 am #15482048 | |
estebanP-3 |
All solved now, many thanks! I'm closing this thread. |