This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that
lf-contact li
elements were empty in Dutch and other translated languages on their website, although these elements displayed correctly in English.
Solution:
We recommended the following steps to resolve the issue:
1. Navigate to WPML-> Settings-> Custom Fields Translation.
2. Click on "Show System Fields".
3. Set the following fields to Copy:
*
_lowest-price
*
_sale-price
4. Edit the default language listings.
5. Make a minor edit and update them.
After completing these steps, we advised the client to check the translated listing page.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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: Exception
This topic contains 18 replies, has 2 voices.
Last updated by Osama Mersal 6 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
May 15, 2024 at 10:43 am | |
gregorH-4 |
Hi As you can see that on the page hidden link lf-contact li are empty in NL and other translated languages. in English language is working fine here i am attaching a screenshot in English |
May 15, 2024 at 12:06 pm | |
May 15, 2024 at 12:07 pm #15630241 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Please login to this sandbox site and install your theme/plugin that creates the custom listing post type. (hidden link) After that, please create a listing and translate it to replicate the issue. If the issue is reproducible, please let me know how to reproduce it so I can consult our compatibility team. Note: Please don't migrate your site to the sandbox site. Best regards, |
May 15, 2024 at 12:37 pm #15630458 | |
gregorH-4 |
i am checking edit with elementor listings are showing with that contact info also in editor but in frontend not showing |
May 15, 2024 at 12:48 pm #15630482 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your update. Please replicate the issue on the sandbox so we can debug it and escalate it if needed. Best regards, |
May 15, 2024 at 1:10 pm #15630571 | |
gregorH-4 |
i am uploading theme and also listing added but wpml translation need to be credit on sandbox |
May 15, 2024 at 1:33 pm #15630695 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I added credits to the sandbox site. Best regards, |
May 16, 2024 at 6:03 am #15632961 | |
gregorH-4 |
Hi |
May 16, 2024 at 6:25 am #15633018 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for replicating the issue. I was able to fix the issue on the sandbox by the following steps: 1- Go to WPML-> Settings-> Custom Fields Translation After that, please check the translated listing page. (hidden link) Best regards, |
May 16, 2024 at 7:13 am #15633146 | |
gregorH-4 |
yes its seems to be working on sandbox but how its working on live site |
May 16, 2024 at 7:27 am #15633204 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I made sure that the below title fields are set to Copy on your site. After that, I updated one listing in the default language, which fixed the issue. (Kindly check the attached screenshot) In order to fix the issue on all listings, please update the listings items in the default language, clear the cache, and check the issue. (hidden link) Best regards, |
May 16, 2024 at 7:32 am #15633239 | |
gregorH-4 |
i understand but my site has 550+ listings how i can manually updated agaian and again |
May 16, 2024 at 7:34 am #15633249 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, After changing the translation prefrences for custom fields, you would need to update the listings in the default language once. Best regards, |
May 16, 2024 at 7:48 am #15633320 | |
gregorH-4 |
as you can seen preference of fields are set to copy already in default language and i am updating listing and clear cache but nothing changes hidden link |
May 16, 2024 at 7:57 am #15633349 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, The listing item in your video doesn't have this info in the default language. I tried again with another one that has the info in English. Please check this video. (hidden link) Best regards, |