{"id":1428110,"date":"2017-11-12T10:13:17","date_gmt":"2017-11-12T10:13:17","guid":{"rendered":"https:\/\/wpml.org\/?p=1428110"},"modified":"2017-11-12T10:13:17","modified_gmt":"2017-11-12T10:13:17","slug":"wpml-3-9-beta-makes-content-duplication-a-thing-of-the-past","status":"publish","type":"post","link":"https:\/\/wpml.org\/ko\/changelog\/2017\/11\/wpml-3-9-beta-makes-content-duplication-a-thing-of-the-past\/","title":{"rendered":"WPML 3.9 Beta Makes Content Duplication a Thing of the Past"},"content":{"rendered":"<p class=\"lead\">We just released a first beta for WPML 3.9. This beta includes a new translation mode which completely removes the need to duplicate content, when you need it to display when not translated.<\/p>\n<p>Let&#8217;s say you&#8217;re developing a listing site that includes English, French and Italian. You probably want new listing to appear in all the site&#8217;s languages. When you translate a listing, the translation should replace the untranslated-original.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/no-clones-300x223.jpg\" alt=\"\" width=\"300\" height=\"223\" class=\"alignright size-medium wp-image-1428117\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/no-clones-300x223.jpg 300w, https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/no-clones-150x112.jpg 150w, https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/no-clones.jpg 729w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>Until now, to do this with WPML, you&#8217;d have to duplicate the listings into all the site&#8217;s languages. Doable, but not fun.<\/p>\n<p>WPML 3.9 will include a new translation mode, which allows to display content in all the site&#8217;s languages, without duplicating it.<\/p>\n<p>While the basic idea is simple, making it happen is a little more tricky. When you enable the new translation mode, WPML does some magic behind the scenes:<\/p>\n<ul>\n<li>If content is translated, the translation appears, otherwise the original displays.<\/li>\n<li>All links on the page include the current language, so clicking on untranslated content doesn&#8217;t move you to the site&#8217;s default language.<\/li>\n<li>Only the &#8216;inside&#8217; of the page shows in the original language. Navigation, sidebars, footer, etc. will appear in the current language.<\/li>\n<li>The same content appears in several languages (looking like it&#8217;s duplicated), but all these aliases point to the original as canonical (so as not to confuse Google).<\/li>\n<\/ul>\n<p>Have a look at this clip to see how it works:<\/p>\n<div class=\"embed-responsive embed-responsive-16by9\"><iframe width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/eiPUIuELo2A?feature=oembed\" frameborder=\"0\" gesture=\"media\" allowfullscreen><\/iframe><\/div>\n<p>This translation mode makes it a lot easier to run multilingual e-commerce, listing, directory and classifieds sites. In fact, any site that has a lot of content, which you don&#8217;t want to necessarily translate will benefit from this new translation mode.<\/p>\n<h2>How to test<\/h2>\n<p>To try this, you need to download WPML 3.9 beta. Log-in to your <a href=\"https:\/\/wpml.org\/account\/\">WPML account<\/a>, click on <strong>Downloads<\/strong> and select the <strong>beta channel<\/strong>. You will need WPML core and the rest of WPML&#8217;s components from this beta.<\/p>\n<p>It&#8217;s a beta and not yet ready for production sites, so please only install it on development sites.<\/p>\n<p>Then, in your site, go to <strong>WPML-&gt;Translation Management-&gt;Multilingual Content Setup<\/strong> and scroll down to the <strong>Post Types Translation<\/strong> section.<\/p>\n<figure id=\"attachment_1428125\" aria-describedby=\"caption-attachment-1428125\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/post-type-translation.jpg\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/post-type-translation-300x205.jpg\" alt=\"\" width=\"300\" height=\"205\" class=\"size-medium wp-image-1428125\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/post-type-translation-300x205.jpg 300w, https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/post-type-translation-150x103.jpg 150w, https:\/\/wpml.org\/wp-content\/uploads\/2017\/11\/post-type-translation.jpg 671w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1428125\" class=\"wp-caption-text\">The new translation option in WPML 3.9<\/figcaption><\/figure>\n<p>The new mode is called <strong>&#8220;Translatable &#8211; use translation if available or fallback to original language&#8221;<\/strong> (not very short, but hopefully clear).<\/p>\n<p>If this mode is grayed out and you cannot select it, there&#8217;s a configuration file that hard-sets a different translation mode. In the production WPML release, you&#8217;ll be able to freely switch from the old &#8220;Translated&#8221; mode to the new one. As it&#8217;s not yet ready in this beta, let&#8217;s use a workaround.<\/p>\n<p>Go to <strong>WPML-&gt;Translation Management-&gt;Custom XML Configuration<\/strong> and paste an XML snippet to override the setting:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;wpml-config&gt;\r\n    &lt;custom-types&gt;\r\n        &lt;custom-type translate=&quot;1&quot; display-as-translated=&quot;1&quot;&gt;CPT-SLUG&lt;\/custom-type&gt;\r\n    &lt;\/custom-types&gt;\r\n&lt;\/wpml-config&gt;\r\n<\/pre>\n<p>Replace &#8220;CPT-SLUG&#8221; with the actual slug of the post-type that you want to control.<\/p>\n<p>Right now, taxonomies are not fully supported yet. It&#8217;s almost there and we&#8217;ll have full support for taxonomies in the production release.<\/p>\n<h2>There&#8217;s more &#8211; sensible workflow when updating page-builder content during translation<\/h2>\n<p>Another significant update coming in WPML is a workflow change for translating page-builder content. Until now, if you update the original (created with a page builder) while translation was in-progress, you&#8217;d have to jump through hoops to get things working.<\/p>\n<p>WPML 3.9 corrects the workflow. If you create content, start translating and then edit the original, you will see that it &#8220;needs translation&#8221;. When you translate again, the partial translation that you already did will appear in WPML&#8217;s Translation Editor and you can continue with the parts that were not complete or are new.<\/p>\n<h2>Feedback?<\/h2>\n<p>We&#8217;re about 2 weeks from closing the development on WPML 3.9. We&#8217;d love your feedback about the new translation mode. If you&#8217;re planning to build e-commerce, listing or classified sites that can use this mode, please try this beta. We want to make sure that it works with your theme and with other plugins that you&#8217;re using. If not, we still have time to make adjustments and to work with theme authors on compatibility.<\/p>\n<p>If you&#8217;re using a page builder, try the new &#8220;update while translating&#8221; and see if this works as you expect it.<\/p>\n<p>To report problems, best to create a new thread in the <a href=\"https:\/\/wpml.org\/forums\/forum\/english-support\/\">technical support forum<\/a> and leave a comment here with a brief description and a link to the thread.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We just released a first beta for WPML 3.9. This beta includes a new translation mode which completely removes the need to duplicate content, when you need it to display when not translated. Let&#8217;s say you&#8217;re developing a listing site that includes English, French and Italian. You probably want new listing to appear in all [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"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,"_uag_custom_page_level_css":"","ep_exclude_from_search":false,"footnotes":""},"categories":[48],"tags":[],"class_list":["post-1428110","post","type-post","status-publish","format-standard","hentry","category-changelog"],"spectra_custom_meta":{"_edit_lock":["1551455383:228164"],"_edit_last":["2"],"_alp_processed":["1510481601"],"_yoast_wpseo_content_score":["90"],"_yoast_wpseo_primary_category":["48"],"_views_template":["0"],"_oembed_a2bd2c0b8f2c628b1b3793abb74e7359":["<iframe width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/eiPUIuELo2A?feature=oembed\" frameborder=\"0\" gesture=\"media\" allowfullscreen><\/iframe>"],"_oembed_time_a2bd2c0b8f2c628b1b3793abb74e7359":["1510479692"],"_syntaxhighlighter_encoded":["1"],"ratings_users":["0"],"ratings_score":["0"],"ratings_average":["0"],"_oembed_bd297e209624e11355395418b468d409":["{{unknown}}"],"_oembed_b969b15ba299b2b428881df85710ac64":["{{unknown}}"],"_oembed_227c3996b88e71628d26d2b5e14f8801":["{{unknown}}"],"_oembed_1f5cf5f305b375c3d401f1389d439dd4":["{{unknown}}"],"_oembed_b78cc50d7b9c7f8dbe45ab06e4f197f3":["{{unknown}}"],"_oembed_6b3021705bcb82e7c808fbde89a28ab7":["{{unknown}}"],"_oembed_55b2ce6feeca37e2a2f801fd030a7a0e":["{{unknown}}"],"_oembed_9c93b11b6b2117647a155ea6e71a17fb":["{{unknown}}"],"_oembed_dce234ac33f8392c84df2abd41a9c8dd":["{{unknown}}"],"_oembed_eac9d1d34df027ef441b1fc841277bc3":["{{unknown}}"],"_oembed_75777a566b49ace7dde0ef94c52b5d90":["{{unknown}}"],"_oembed_29c3082e68d00dde23345b4b99ca0525":["{{unknown}}"],"_oembed_c5805eb9f854cabdcc04201d2b76c30c":["<iframe title=\"Using WPML to translate content created with Gutenberg editor\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/Lw1rdlVxXQ4?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_c5805eb9f854cabdcc04201d2b76c30c":["1631546044"],"_oembed_f56bf1c5a64a315a94e4cbf7a197b2b0":["<iframe title=\"Integration between Astra theme and Toolset\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/z0GrsNVmFjo?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_f56bf1c5a64a315a94e4cbf7a197b2b0":["1631546045"],"_oembed_d617e060b7133aea5401c0d73edbabae":["<iframe title=\"Using WPML to easily translate pages you build visually\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/AzxsHDjMA48?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_d617e060b7133aea5401c0d73edbabae":["1634170216"],"_oembed_91c4a966854e454ae9cd5d8238fe6125":["<iframe title=\"How Repeatable Field Groups Work in Toolset\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/aWB-upmpbfo?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_91c4a966854e454ae9cd5d8238fe6125":["1634170216"],"_oembed_605538d4bdc05d8e5064feba452e6920":["<iframe title=\"Creating and using repeatable field groups\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/1D501I-yvGI?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_605538d4bdc05d8e5064feba452e6920":["1634170216"],"_oembed_e7fc203a84c888125be9273e359b9ff7":["{{unknown}}"],"_oembed_61cf92166b7fafbde823833296dd30a3":["{{unknown}}"],"_oembed_26e0e5de3d5acfa0214142b132e6ac63":["{{unknown}}"],"_oembed_0be3190628599f17adee76beefbea62d":["{{unknown}}"],"_oembed_bbf56b1d4c25ce11481afba39f176f85":["<iframe title=\"Using WPML to translate content created with page builders\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/MSqNzrdPMkE?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_bbf56b1d4c25ce11481afba39f176f85":["1647338614"],"_oembed_b1f165c45b1c0061ef14102a3255a165":["<iframe title=\"WPML with Gutenberg\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/mpeEuTRYhZA?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b1f165c45b1c0061ef14102a3255a165":["1649673983"],"_oembed_d45e48e1af800662f1092912cdfb3725":["<iframe title=\"WPML Translation Manager Role\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/zKax_E3jRB0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_d45e48e1af800662f1092912cdfb3725":["1649673983"],"_oembed_66b65cc4963b02a06397f5195d38724a":["<iframe title=\"WPML New Media Translation\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/aUTPX7kahUs?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_66b65cc4963b02a06397f5195d38724a":["1649673983"],"_oembed_1a7aa0a619dad47a6cfdae8f8e97e437":["<iframe title=\"How to use the new WPML Advanced Translation Editor\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/kAaSEpjijhQ?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_1a7aa0a619dad47a6cfdae8f8e97e437":["1649673983"],"_oembed_2e34596e274cb24b66dc3b680fc8d773":["<iframe title=\"Using WPML to translate content created with Gutenberg editor\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/Lw1rdlVxXQ4?start=8&feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_2e34596e274cb24b66dc3b680fc8d773":["1652016288"],"_oembed_b6b58dddea390a2faa8b176dcd53d805":["<iframe title=\"How custom types and fields make it easy to manage content\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/BNu5PGG93J0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b6b58dddea390a2faa8b176dcd53d805":["1659026951"],"_oembed_c0f0fe1223a8b20dc94265f83b277e94":["<iframe title=\"How to Display Content Conditionally in WordPress - Free Course\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/0jaahChFodg?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_c0f0fe1223a8b20dc94265f83b277e94":["1665190653"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["0"],"_wpml_word_count":["733"],"_uag_css_file_name":["uag-css-1428110.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/ko\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"We just released a first beta for WPML 3.9. This beta includes a new translation mode which completely removes the need to duplicate content, when you need it to display when not translated. Let&#8217;s say you&#8217;re developing a listing site that includes English, French and Italian. You probably want new listing to appear in all&hellip;","_links":{"self":[{"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/posts\/1428110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/comments?post=1428110"}],"version-history":[{"count":9,"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/posts\/1428110\/revisions"}],"predecessor-version":[{"id":3262001,"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/posts\/1428110\/revisions\/3262001"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/media?parent=1428110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/categories?post=1428110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/ko\/wp-json\/wp\/v2\/tags?post=1428110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}