This thread is resolved. Here is a description of the problem and solution.
Problem:
You have multiple MB text fields on your homepage, but some are not visible in the WPML Advanced Translation Editor screen, even though they are set to 'Translate' in WPML > Settings > Custom Fields Translation.
Solution:
We recommend adding the following line to your functions.php file:
add_filter('wpml_tm_job_field_is_translatable', '__return_true');
After adding this code, edit the page in the default language, make a minor edit, and then update it. This should allow the missing fields to appear when using the search field in the Advanced Translation Editor.
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. Additionally, you can open a new support ticket for further assistance at 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: ATE
This topic contains 17 replies, has 2 voices.
Last updated by Osama Mersal 3 months, 3 weeks ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
July 17, 2024 at 1:24 pm #15966452 | |
adrienR-5 |
Background of the issue: Symptoms: Questions: |
July 17, 2024 at 1:51 pm #15966635 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. Please let me know how these fields are added in the default language. Also, please try the following steps: 1- Edit the home page in the default language Best regards, |
July 17, 2024 at 3:41 pm #15967130 | |
adrienR-5 |
Hello Osama, So what I did : 1 - Clear Litespeed cache See screenshots that show that I still cannot see the **field-MB_FIELD_ID** |
July 18, 2024 at 6:24 am #15969990 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your answer will be private, meaning only you and I can access it. ❌ Please backup your database and website ❌ ✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical. ✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site. Best regards, |
July 18, 2024 at 1:45 pm #15972882 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for the access details. I checked the mentioned field, and it contained only a number so that you couldn't see it in ATE. When adding a text to it, it appears in ATE correctly. Best regards, |
July 18, 2024 at 2:09 pm #15973018 | |
adrienR-5 |
Hi Osama, So that's an issue from WPML? |
July 18, 2024 at 2:35 pm #15973200 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, You can translate numbers if you use the search field. (Kindly check the attached screenshot) Please check this guide to know more about translating numbers in ATE. Best regards, |
July 18, 2024 at 4:12 pm #15973719 | |
adrienR-5 |
Hi Osama, Even when I search the field and translate it it doesn't render so something isn't working. You can check the FR-BE homepage : hidden link I want the first item "13%" to be "19" and this isn't working. Check the dev website please. So I think what you find when you type "13" is a text block from a previous version, when value was static inside Bricks. I modified the "13%" to "15%" inside the default (FR) Homepage, and I can't find anything when typing 15% so it's a bug from WPML, please help me |
July 19, 2024 at 9:58 am #15977233 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Please login to this hidden link">sandbox site and install the Meta Box plugin. After that, please import this field group and use it on a test page to replicate the issue. If the issue is replicable, please let me know to consult our 2nd tier support team. Thanks for your cooperation Best regards, |
July 19, 2024 at 11:42 am #15978015 | |
adrienR-5 |
Hi Osama, Why is your Advanced Translation Editor in dark mode and does not have the same layout as what I have on my website? I checked the plugin version, and it is the same. On my development website, I deactivated every plugin to match what you have on your sandbox, keeping only the Bricks theme activated. However, I still can't see the "17%" when I edit the translation on my homepage (FR-BE). Please check the development website again and let me know what's going on with my WPML setup. |
July 19, 2024 at 12:39 pm #15978317 | |
adrienR-5 |
I created a new page and just added 1 MB text field and did the same thing, still the same issue: hidden link |
July 20, 2024 at 1:28 pm #15981438 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, The dark mode editor is the new version of the ATE editor, and it's in the testing phase, so it's not available on the client's sites. I changed it to the version on your site and created a hidden link">new test page to check if the issue persists, but I don't see the field. Please add the field, translate the page, and let me know if the field worked correctly. Best regards, |
July 20, 2024 at 2:17 pm #15981555 | |
adrienR-5 |
Hi Osama, I added the MB Field group to your new page and filled the field with "12%". But when I translate the page in FR, I don't see the field inside ATE editor. Let me know how we can solve this please. |
July 20, 2024 at 2:23 pm #15981615 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your update. The numbers issue will be fixed in the next version of ATE. Currently, the workaround is to translate this field manually by editing the translated page using WordPress editor. Also, I'll consult our second-tier support team about this issue to see if there is another workaround. Best regards, |
July 20, 2024 at 2:26 pm #15981619 | |
adrienR-5 |
Hi Osama, You mean by adding the MB group field to each other language pages? Because when I use the WordPress Editor I don't see where I can edit the field at the moment. Also do you think you can provide a temporary fix for our live website so we can translate those fields because we're stuck and it's important? Thanks! |