Resolved
Resolved in: 4.4.0
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 WPML → Settings page and click the Custom XML Configuration tab. There, add the following snippet and save.
<wpml-config> <gutenberg-blocks> <gutenberg-block type="core/shortcode" translate="1"> <xpath>/*</xpath> </gutenberg-block> </gutenberg-blocks> </wpml-config>
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:
This fix is not working for me.
Hello there,
We are working in a version that should fix this issue. In the meantime, if it does not help, please open a ticket in our support forum as we will be able to help you better there:
https://wpml.org/forums/forum/english-support/
Regards,
Andrés