Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The design of the page is not copied to the translation when using BeTheme’s BeBuilder live editor.

Solution:
It was a compatibility issue and we have published the errata with the workaround and informed the theme author about it:
https://wpml.org/errata/betheme-betheme-bebuilder-live-editor-design-is-not-copy-to-translations/

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: 

This topic contains 5 replies, has 2 voices.

Last updated by sinaP 1 year, 11 months ago.

Assisted by: Noman.

Author Posts
January 5, 2023 at 10:01 am #12756971

sinaP

Hi,

we have an issue with WPML translations on pages created with BeBuilder (BeTheme). Every time WPML translates the page, the block formatting is gone.

I can manually add the format on the translated page. However, every time a text changes and translations happens the formatting vanishes again.

Compare here for instance:
* Original page: hidden link
* Page afterWPML translation: hidden link

January 7, 2023 at 6:56 pm #12769195

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks I can see the same issue on sandbox. I need to escalate this issue to 2nd tier support for further review.

January 8, 2023 at 7:43 am #12770203

sinaP

Thanks Noman!

Would you be so kind and post some sort of ticket number, so that I can follow along with the process, or will you be providing updates in this thread?

January 8, 2023 at 2:38 pm #12771073

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Yes I will update you here once I have an update, its an internal ticket so do not have any public ID to share for this case. But rest assured we will get back to you as our 2nd tier review the issue and debug further. I have escalated this issue to our 2nd tier support.

Thank you for your cooperation and patience.

January 10, 2023 at 9:54 am #12783217

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Our 2nd tier reviewed this issue and it seems to be a compatibility issue in theme files that needs to be fixed. Currently, they have provided a workaround that I have tested on our Sandbox and it seems to be working correctly. Could you please try the same workaround on your site by following the below steps:

1. Please take a backup of your site first for safety reasons.

2. Please open the “class-mfn-builder-front.php” file from wp-content\themes\betheme\functions\builder directory and replace the following snippet around lines 146-148:

$dir = wp_upload_dir()['basedir'] . $path;

if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){

With:

// WPML - workaround for compsupp-6558
$css_file_path = '/betheme/css/post-'. $this->post_id .'.css';
$dir = wp_upload_dir()['basedir'] . $css_file_path;

if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){

And see if this resolves the issue. We will inform the theme author about this issue, you may also tell them if possible.

Please let me know the results.

Thank you

January 13, 2023 at 8:51 pm #12816199

sinaP

Thanks Noman for your support, the workaround seems to do the trick!