Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

This topic contains 6 replies, has 0 voices.

Last updated by Bruno Kos 18 hours, 19 minutes ago.

Assisted by: Bruno Kos.

Author Posts
January 10, 2026 at 3:26 pm #17718219

agataM

Hi WPML Support,

I'm experiencing an issue where the **Advanced Translation Editor completely removes the content of `vc_raw_html` shortcodes** when translating pages built with WPBakery (Uncode theme). The same translation works correctly when using the Classic Translation Editor.

## Environment

- **WPML Multilingual CMS:** 4.8.6
- **WPML String Translation:** 3.4.1
- **Theme:** Uncode (with integrated WPBakery Page Builder)
- **ACF Multilingual:** 2.1.5
- **WordPress:** 6.9

## Problem Description

I have a homepage built with WPBakery that contains `vc_raw_html` shortcodes with base64-encoded custom shortcodes inside:
[vc_raw_html]JTVCc3VwZXJzbm93X2Nhcm91c2VsJTVE[/vc_raw_html]
(The base64 decodes to `[supersnow_carousel]`)

**When using Advanced Translation Editor:**
- The `vc_raw_html` shortcode is completely removed from the translated page
- The base64 content disappears entirely
- The translated page is missing entire sections

**When using Classic Translation Editor:**
- The `vc_raw_html` shortcode is preserved correctly
- The base64 content remains intact
- The translated page displays correctly with all modules

## Configuration Attempted
I have tried the following configurations without success in Advanced Editor:

1. **Database setting:** Changed `wpml_page_builders_options` to `translate_raw_html = 1`
2. **Custom XML configuration in WPML Settings:**
```xml

vc_raw_html

```
3. Also tried with `raw-html="1"` attribute:
```xml

vc_raw_html

```
None of these configurations resolved the issue with Advanced Translation Editor.

## Verification

I verified the issue by comparing database content:

- **Original page (PL):** Contains 4 instances of `vc_raw_html` with base64 content
- **Translated with Advanced Editor:** 0 instances of `vc_raw_html`, content completely removed
- **Translated with Classic Editor:** 4 instances of `vc_raw_html` preserved correctly

## Uncode's wpml-config.xml

The Uncode theme includes proper configuration for `vc_raw_html`:
```xml

vc_raw_html

```

This configuration is being ignored by the Advanced Translation Editor.

## Questions

1. Is this a known issue with Advanced Translation Editor and `vc_raw_html`?
2. Is there a configuration option to make Advanced Editor preserve base64-encoded shortcode content?
3. Is there a workaround other than using Classic Translation Editor?

## Workaround

Currently, using Classic Translation Editor works correctly, but it's significantly slower for large pages. I would prefer to use Advanced Editor if possible.

Thank you for your assistance.

Best regards

January 10, 2026 at 5:54 pm #17718355

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Could you please visit the following sandbox site:
hidden link

From there, import one of the pages that uses the vc_raw_html element and try translating it. Do you encounter the same issue?

If so, please send me the page URL along with screenshots that clearly show the problem, so I can review it further.

For your reference, Uncode and its required plugin are already installed.

January 12, 2026 at 8:51 am #17720404

agataM

Ok, but this issue concerns a custom element that requires additional files on the server.

Anyway, I copied the content of the home page and you can see there's a shortcode: [supersnow_carousel] — however, after performing the translation, the shortcode disappeared.

Zrzut ekranu 2026-01-12 095050.png
Zrzut ekranu 2026-01-12 091752.png
January 12, 2026 at 4:02 pm #17722426

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Just to confirm my understanding: after the page was translated using the Translation Editor, this field was removed from the translation, and as a result, its content is also not being rendered on the frontend?

If this is correct, I will escalate the case to our Compatibility Team for further investigation.

raw html missing.jpg
January 14, 2026 at 7:50 am #17727968

agataM

Yes, the shortcode is added, but after performing the translation it disappears completely on the Front-End. Please investigate this issue.

January 14, 2026 at 1:27 pm #17729537

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

January 15, 2026 at 5:56 am #17731724

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Can you check and try this?
https://wpml.org/errata/wpbakery-page-builder-raw-html-shortcodes-removed-when-translating-with-ate/