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: Custom Work
This topic contains 5 replies, has 0 voices.
Last updated by kenM-6 1 hour, 7 minutes ago.
Assisted by: Noman.
| Author | Posts |
|---|---|
| January 14, 2026 at 2:28 am #17727641 | |
|
kenM-6 |
I'm having trouble with some translated content not displaying in the front end. When editing the translation of the page (advanced translation editor) I can see that all the content is translated. However, when I look at the front end, only some of the content shows. Some notes: |
| January 14, 2026 at 1:30 pm #17729558 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting WPML Support. Could you please try to follow the below steps: 1. Take a backup of your site first for safety reasons. 2. Update all plugins, especially WPML, WooCommerce, and WPML Multilingual & Multicurrency for WooCommerce. 3. Then try to follow the below procedure: 3.1. Please open the default language Product in Edit mode. 4. Clear all sorts of site/server/CDN cache and see if this resolves the issue. If it still happens, please share: 1. The product URL where the Benefits tab content is missing. Kindly let me know the results, |
| January 15, 2026 at 1:17 am #17731532 | |
|
kenM-6 |
Hi, thank you for the assistance. I've updated the plugins and followed your steps but the issue is still present. I've attached images of the shortcode in list view as well as in the gutenberg editor (broken into 3 parts). Here is the product I'm troubleshooting in English, where you can see everything working fine: And here is the the Chinese translation where the tabs are missing content: |
| January 15, 2026 at 3:43 pm #17734705 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for trying the above suggested steps and additional details. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue. Your next answer will be private, meaning only you and I can access it. === Please backup your database and website === ✙ I would need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential. Thank you |
| January 18, 2026 at 7:54 am #17739813 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Sorry for the delay, I was off during the weekend (Friday-Saturday). Thanks for providing the login details. I’m debugging the issue at your site and will get back to you with an update soon. Thank you for your cooperation and patience |
| January 18, 2026 at 5:28 pm #17740524 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
I thoroughly debugged this issue and found out that the [GK-TABS-BREAK] is not a real shortcode, it is only used as a text separator inside the main [GK-TABS] shortcode. When the page is translated with WPML Advanced Translation Editor, it tries to process it as a shortcode and ends up duplicating it which breaks the tab layout and creates more empty tabs in secondary language. To fix this issue: - I replaced the below code:
$sections = preg_split('/\[GK-TABS-BREAK\]/i', $content);
With:
// WPML sometimes duplicates the break shortcode >> collapse multiples into one
$content = preg_replace('/(\[GK-TABS-BREAK\]\s*){2,}/i', '[GK-TABS-BREAK]', $content);
$sections = preg_split('/\[GK-TABS-BREAK\]/i', $content);
$sections = array_values(array_filter(array_map('trim', $sections), 'strlen')); // remove empty panels
From themes/wp-theme-general-kinematics/includes/gk-tabs-shortcode.php - Made a small change in the default language product to reload the translation. - Open the translated product in WPML Advanced Translation Editor and complete the translation. Now, it works without any issues. Could you please check and confirm? Please understand that I'm helping you here with an issue that is out of the scope of our support forum and we will not be able to support the fix that we give you in the future. Because the theme or our code might have changed, so please always be aware of this. Right now it's working without any issue. Thank you |
| January 19, 2026 at 11:21 pm #17744283 | |
|
kenM-6 |
Appreciate the help Noman! I confirm your solution is working. Thanks! |




