{"id":4821337,"date":"2019-10-24T15:56:49","date_gmt":"2019-10-24T15:56:49","guid":{"rendered":"https:\/\/wpml.org\/?p=4821337"},"modified":"2020-04-22T12:32:43","modified_gmt":"2020-04-22T12:32:43","slug":"update-on-divi-4-0-and-wpml-compatibility","status":"publish","type":"post","link":"https:\/\/wpml.org\/it\/compatibility\/2019\/10\/update-on-divi-4-0-and-wpml-compatibility\/","title":{"rendered":"Update on Divi 4.0 and WPML Compatibility"},"content":{"rendered":"<p class=\"lead\">Right now (24th Oct, 2019) Divi 4 and WPML are not fully compatible. We&#8217;re working with Divi developers to review all problems and handle them. In this post, we list the known issues, so that WPML clients don&#8217;t waste time running into problems that we are already aware of.<\/p>\n<div class=\"alert alert-warning\">\nWith the release of <a href=\"https:\/\/wpml.org\/it\/changelog\/2020\/04\/wpml-4-3-12-release\/\">WPML 4.3.12<\/a> all Divi 4 specific issues have been addressed.<br \/>\nIf you are still having problems please report them in our <a href=\"https:\/\/wpml.org\/forums\/forum\/english-support\/\">support forum<\/a>.\n<\/div>\n<h2>Known Compatibility Problems Between Divi 4 and WPML<\/h2>\n<h3>The admin language is being translated, instead of displaying in the original language<\/h3>\n<p>For example, you create a French translation and the admin switches to French too. This happens even though you want the admin to remain in English. Divi 4.0 is storing a translated cache locally. This is causing the admin to remain in a translated language.<\/p>\n<h3>Language switcher is not saved in Divi\u2019s custom widget area<\/h3>\n<p>The Divi 4.0 theme allows you to add widget areas. When WPML\u2019s language switcher widget is added to an area, it isn\u2019t showing on the page. The same problem happens when the <strong>WPML -&gt; Languages -&gt; Widget<\/strong> language switcher option is used.<\/p>\n<h3>Background images aren&#8217;t being translated<\/h3>\n<p>Divi 4.0 lets you set an image as the background in a module or row. The original language image is being displayed, instead of the translated image.<\/p>\n<h3>WooCommerce products created in Divi Builder aren&#8217;t working<\/h3>\n<p>The entire product listing is being duplicated inside the description area of translated products.<\/p>\n<h3>Custom post types created in Divi Library don\u2019t appear in WPML\u2019s Translation Management<\/h3>\n<p>Because these post types aren\u2019t showing up in Translation Management, content can&#8217;t be sent to translation services.<\/p>\n<h3>Unsynced content in Divi\u2019s Global Modules can\u2019t be translated<\/h3>\n<p>In Divi 4.0 you can insert a Global Module into posts and pages. These can <a href=\"https:\/\/www.elegantthemes.com\/documentation\/divi\/selective-sync\/\" target=\"_blank\" rel=\"noopener noreferrer\">sync design elements<\/a> from the Divi Library. Any unique text you add to a Global Module isn\u2019t appearing in WPML\u2019s Translation Editor.<\/p>\n<h3>Divi Builder isn\u2019t loading when using one domain per language<\/h3>\n<p>In WPML your translations can have a different domain for each language in WPML (for example, yourdomain.es and yourdomain.fr). The Divi Builder is only loading on the original language domain. It won&#8217;t load on your secondary language domains.<\/p>\n<h3>When a section is saved as a Global Module in Divi 4.0 the translations don\u2019t appear<\/h3>\n<p>Divi 4.0&#8217;s Global Modules can be translated by WPML. When the Global Module is inserted into another page, it isn&#8217;t being populated automatically with the translated content.<\/p>\n<h3>Image URLs in Divi 4.0 image modules are not changing for different language domains<\/h3>\n<p>This happens if you use different domains for each language. The correct translated image appears when a Divi 4.0 image module is inserted. But the image URL is not updating to reflect the language\u2019s domain.<\/p>\n<h3>WPML Sticky Links in Global Modules<\/h3>\n<p>If a Divi Global Module contains a WPML Sticky Link, it can\u2019t be converted to a permalink.<\/p>\n<hr \/>\n<p><strong>UPDATE &#8211; 4th March, 2020<\/strong><\/p>\n<p>We have resolved most of the issues in this list in 4.3.7:<\/p>\n<p>&#8211; The admin language is being translated, instead of displaying in the original language<br \/>\n&#8211; WooCommerce products created in Divi Builder aren\u2019t working<br \/>\n&#8211; Custom post types created in Divi Library don\u2019t appear in WPML\u2019s Translation Management<br \/>\n&#8211; Unsynced content in Divi\u2019s Global Modules can\u2019t be translated<br \/>\n&#8211; When a section is saved as a Global Module in Divi 4.0 the translations don\u2019t appear<\/p>\n<p>We will update here again when there is more news.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Right now (24th Oct, 2019) Divi 4 and WPML are not fully compatible. We&#8217;re working with Divi developers to review all problems and handle them. In this post, we list the known issues, so that WPML clients don&#8217;t waste time running into problems that we are already aware of. With the release of WPML 4.3.12 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4847751,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"categories":[1371],"tags":[],"class_list":["post-4821337","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-compatibility"],"_links":{"self":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/4821337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/comments?post=4821337"}],"version-history":[{"count":10,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/4821337\/revisions"}],"predecessor-version":[{"id":5968357,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/4821337\/revisions\/5968357"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/media\/4847751"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/media?parent=4821337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/categories?post=4821337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/tags?post=4821337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}