{"id":2412798,"date":"2018-06-14T23:11:56","date_gmt":"2018-06-14T23:11:56","guid":{"rendered":"https:\/\/wpml.org\/?p=2412798"},"modified":"2018-06-19T07:55:03","modified_gmt":"2018-06-19T07:55:03","slug":"important-changes-in-how-media-translation-works-since-wpml-4-0","status":"publish","type":"post","link":"https:\/\/wpml.org\/th\/announcements\/2018\/06\/important-changes-in-how-media-translation-works-since-wpml-4-0\/","title":{"rendered":"Important changes in how Media Translation works since WPML 4.0"},"content":{"rendered":"<p class=\"lead\">Media Translation now serves the same attachments for translations, instead of creating duplicates. This means that images appear &#8220;automatically&#8221; in translations, but with their meta-texts from the originals.<\/p>\n<p>Before WPML 4.0, Media Translation would create duplicates for images for different languages. Since WPML already has a translation mode which allows serving the originals if translations are missing, the new Media Translation now uses that mode and doesn&#8217;t need to duplicate images.<\/p>\n<h2>Synchronizing Featured Images and Galleries<\/h2>\n<p>Featured images and image galleries work on translated content, without any duplicate images. It reduces clutter in your sites and makes it easier to keep media in sync between languages.<\/p>\n<p>Your image galleries will automatically be displayed on translated content, so there is no additional setting or action you need to take.<\/p>\n<p>The controls for synchronizing the featured image have moved from the Media Translation plugin to WPML Core.<\/p>\n<table>\n<tbody>\n<tr>\n<th>Featured Image sync controls on the WPML -&gt; Settings page<\/th>\n<th>Featured Image sync Controls on the post editing page<\/th>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/cdn.wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-2413206\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-300x268.png\" alt=\"\" width=\"300\" height=\"268\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-300x268.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-150x134.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-768x686.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization.png 922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<td><a href=\"https:\/\/cdn.wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-page-editor.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-2413252\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-page-editor-229x300.png\" alt=\"\" width=\"229\" height=\"300\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-page-editor-229x300.png 229w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-page-editor-114x150.png 114w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-page-editor-300x393.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-setting-for-featured-image-synchronization-page-editor.png 302w\" sizes=\"(max-width: 229px) 100vw, 229px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Translating Image Alt, Title, and Caption<\/h2>\n<p>To set different meta-texts (alt, title, and description), use the <a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/media-translation\/\">WPML Media Translation<\/a> plugin. Go to <strong>WPML <\/strong>-&gt;<strong> Media Translation<\/strong>, click on any image and enter replacement texts.<\/p>\n<figure id=\"attachment_2413040\" aria-describedby=\"caption-attachment-2413040\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/cdn.wpml.org\/wp-content\/uploads\/2018\/06\/wpml-media-translation-translating-meta-texts-images.png\"><img decoding=\"async\" class=\"wp-image-2413040 size-medium\" src=\"https:\/\/cdn.wpml.org\/wp-content\/uploads\/2018\/06\/wpml-media-translation-translating-meta-texts-images-300x217.png\" alt=\"Translating Image Texts\" width=\"300\" height=\"217\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-media-translation-translating-meta-texts-images-300x217.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-media-translation-translating-meta-texts-images-150x109.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-media-translation-translating-meta-texts-images-768x556.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/06\/wpml-media-translation-translating-meta-texts-images.png 802w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2413040\" class=\"wp-caption-text\">Translating Image Texts<\/figcaption><\/figure>\n<h2>The New Purpose of Media Translation<\/h2>\n<p>As we moved most of the logic from Media Translation to WPML Core, the main purpose of Media Translation is to allow to choose replacement images when you&#8217;re translating with WPML&#8217;s Translation Management. Now (which didn&#8217;t exist before), you can choose different images to include in translations. Previously, you could only do this via the post-editor and your edits would be lost whenever translations are updated via Translation Management. We explain this workflow in the updated <a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/media-translation\/\">Media Translation<\/a> documentation.<\/p>\n<h2>Update to WPML 4.0.3 and Media Translation 2.3.3<\/h2>\n<p>This change is now available in WPML 4.0.3 and Media Translation 2.3.3.<\/p>\n<p>You will receive automatic updates via WordPress for all registered sites. To update manually, log-in to your\u00a0<a href=\"https:\/\/wpml.org\/account\/\">WPML account<\/a>, go to Downloads and get the new version from there.<\/p>\n<h2>Feedback?<\/h2>\n<p>This is a change in functionality compared to previous versions of WPML. We hope that it&#8217;s not causing any side effects with themes and plugins. If you notice something that used to work before and is not working for you now, please leave your comments and we&#8217;ll get back to you.<\/p>\n<p>We appreciate very much all the feedback that we received for our <a href=\"https:\/\/wpml.org\/th\/announcements\/2018\/06\/known-issues-with-media-translation-for-wpml-4-and-upcoming-solutions\/\">previous post about Media Translation issues<\/a>. This release addresses the reported issues. We pushed quickly so that images work again on translated content.<\/p>\n<p>Looking forward to your feedback!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Media Translation now serves the same attachments for t [&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,"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2412798","post","type-post","status-publish","format-standard","hentry","category-announcements"],"_links":{"self":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/2412798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/comments?post=2412798"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/2412798\/revisions"}],"predecessor-version":[{"id":2420992,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/2412798\/revisions\/2420992"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/media?parent=2412798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/categories?post=2412798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/tags?post=2412798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}