WPML
Status
Resolved
Resolved in
4.4.0
Related plugin/theme
Enfold

Overview of the issue

When you create a page using the Avia Page Builder, the content will not be available for translation through WPML Classic Translation Editor nor Advanced Translation Editor.

Workaround

We’re working on a fix for this issue. Until then, you can use the following steps to fix the issue.

1. Go to the WPMLSettings page and click the Custom XML Configuration tab. There, add the following snippet and save.

2. Edit the class-wpml-compatibility-theme-enfold.php file found in the ../wp-content/plugins/sitepress-multilingual-cms/compatibility/enfold/ folder and on line 56 replace:

$content = get_post_meta( $post_id, '_aviaLayoutBuilderCleanData', true );

With:

$content = str_replace( "\r\n", "\n", get_post_meta( $post_id, '_aviaLayoutBuilderCleanData', true ) );

WPML 4.4.0 Beta


We’ve releassed a beta which should solve this issue. Please, keep in mind that it is a beta version which is under testing and shouldn’t be used in production sites. You can download it here:
https://wpml.org/account/downloads/

 

All known issues →