{"id":112761,"date":"2013-04-18T08:17:12","date_gmt":"2013-04-18T08:17:12","guid":{"rendered":"http:\/\/wpml.org\/?p=112761"},"modified":"2013-04-22T06:53:45","modified_gmt":"2013-04-22T06:53:45","slug":"wpml-2-8","status":"publish","type":"post","link":"https:\/\/wpml.org\/it\/changelog\/2013\/04\/wpml-2-8\/","title":{"rendered":"WPML 2.8"},"content":{"rendered":"<p><strong>WPML 2.8.1 brings in long waited features and also series of bug fixes and refinaments.<\/strong><\/p>\n<h2>Support Different Domains for Languages in WordPress Multisite<\/h2>\n<p>If you are running a large multisite network for your different websites, now you can assign different languages to different domains.<\/p>\n<p>To do this, WPML comes with a new drop-in file for <code>sunrise.php<\/code>.<br \/>\nThis is done with a drop in that&#8217;s included the new plugin release.<br \/>\nFor complete details, read about <a href=\"\/?page_id=119909\">Languages in Domains for WordPress Multisite Mode<\/a>.<\/p>\n<h2>Mobile-Friendly Language Switcher<\/h2>\n<p>Until now, the only mobile-friendly language switcher for your site was the footer links (or if you build a custom language switcher). We&#8217;ve added a &#8216;mobile-friendly&#8217; mode to WPML&#8217;s drop-down language switcher, opening it to visitors on tablets and phones.<\/p>\n<p>The mobile-friendly language switcher looks exactly like the ordinary one. The difference is in the way it works. When you select a mobile-friendly language switcher, visitors click once to show the list of languages and twice to select their language. There is no &#8216;hover&#8217; operation, which doesn&#8217;t exist on mobile devices.<\/p>\n<p>You can enable the mobile version always, for mobile browsers (recommended), or never.<\/p>\n<h2>Allow logging in from on different domains<\/h2>\n<p>Up until now one could only log in on the domain corresponding to the default language while using the multiple domains options for language urls. The new version offers the possibility of logging in on each separated domain.<\/p>\n<h2>Drag-and-Drop Ordering for Languages<\/h2>\n<p>I hate it when languages move around in our footer for every language. There is some logic behind it, but it seems so un-logical.<\/p>\n<p>WPML 2.8.1 includes a new interface that lets you drag languages and order them.<\/p>\n<p>The ordering from this GUI will be the default language order for WPML&#8217;s language switchers. If you are using WPML&#8217;s API to build your own language switchers, you can choose between this ordering, language name or ID.<\/p>\n<figure id=\"attachment_115618\" aria-describedby=\"caption-attachment-115618\" style=\"width: 841px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-115618\" title=\"languages-order\" alt=\"\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2013\/03\/languages-order.png\" width=\"841\" height=\"358\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2013\/03\/languages-order.png 841w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/03\/languages-order-150x63.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/03\/languages-order-300x127.png 300w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><figcaption id=\"caption-attachment-115618\" class=\"wp-caption-text\">Languages Order<\/figcaption><\/figure>\n<h2>Correct Sources for WordPress Core Translations<\/h2>\n<p>This version of WPML changes the location from which WPML loads translations for WordPress. Instead of the old and abandoned SVN repo (don&#8217;t worry if you don&#8217;t know about it), translations are now coming, in real time, from the <a href=\"http:\/\/translate.wordpress.org\/projects\">WordPress Translation project<\/a>.<\/p>\n<p>If this is new to you, you can read all about <a href=\"\/?page_id=72727\">automatically downloading WordPress translations<\/a>.<\/p>\n<p>It&#8217;s the same GUI as before, but now, translations are coming from the best location.<\/p>\n<figure id=\"attachment_118047\" aria-describedby=\"caption-attachment-118047\" style=\"width: 821px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"size-full wp-image-118047\" title=\"wp-translation-1\" alt=\"\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-1.png\" width=\"821\" height=\"371\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-1.png 821w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-1-150x67.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-1-300x135.png 300w\" sizes=\"(max-width: 821px) 100vw, 821px\" \/><figcaption id=\"caption-attachment-118047\" class=\"wp-caption-text\">WordPress Translation &#8211; importing translations (1)<\/figcaption><\/figure>\n<figure id=\"attachment_118048\" aria-describedby=\"caption-attachment-118048\" style=\"width: 823px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"size-full wp-image-118048\" title=\"wp-translation-2\" alt=\"\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-2.png\" width=\"823\" height=\"191\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-2.png 823w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-2-150x34.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/04\/wp-translation-2-300x69.png 300w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><figcaption id=\"caption-attachment-118048\" class=\"wp-caption-text\">WordPress Translation &#8211; importing translations (2)<\/figcaption><\/figure>\n<h2>Bugs Fixes and Tweaks<\/h2>\n<p>This new version brings beside the new features a series of bug fixes and refinements.<\/p>\n<ul>\n<li>WPML Media &#8211; problems with duplicating attachements<\/li>\n<li>Added a filter for <code>_parse_wpml_config<\/code> &#8211; allow setting translation properties to custom types, fields etc without using a <code>wpml-config.xml<\/code> file<\/li>\n<li>Fixes for parsing <code>wpml-config.xml<\/code> for certain situations when multiple configuration files were present<\/li>\n<li>Tags of secondary language get deleted when editing post<\/li>\n<li>Translate by WPML option is disabled<\/li>\n<li>Admin language as edit language is not working<\/li>\n<li>Media Translation produces incorrect URLs in Windows<\/li>\n<li>Warnings approving and replying to comments<\/li>\n<li>Notices and Warnings when resettign a language<\/li>\n<li>Translation Editor: Insert\/edit link dialogue does not filter by page list by language<\/li>\n<\/ul>\n<h2>Updating WPML<\/h2>\n<p>As always, the recommended way to install and update WPML is by using our <a href=\"http:\/\/wp-compatibility.com\/installer-plugin\/\">Installer<\/a> plugin. Installer will let you get WPML updates directly to your WordPress admin.<\/p>\n<p>You can always download WPML manually from <a href=\"https:\/\/wpml.org\/account\/\">your account<\/a>.<\/p>\n<h2>Interested in WordPress 3.6 Support?<\/h2>\n<p>WPML 2.8.1 runs pretty well on the latest WordPress betas. There are a small glitches that we&#8217;re handling and we&#8217;ll be ready with an update for WordPress 3.6, before the new WordPress is released. If you try WPML 2.8.1 with WP 3.6 and see any issues, please report in our <a href=\"https:\/\/wpml.org\/forums\/forum\/english-support\/\">technical forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPML 2.8.1 brings in long waited features and also series of bug fixes and refinaments. Support Different Domains for Languages in WordPress Multisite If you are running a large multisite network for your different websites, now you can assign different languages to different domains. To do this, WPML comes with a new drop-in file for [&hellip;]<\/p>\n","protected":false},"author":76577,"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":[48],"tags":[],"class_list":["post-112761","post","type-post","status-publish","format-standard","hentry","category-changelog"],"_links":{"self":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/112761","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\/76577"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/comments?post=112761"}],"version-history":[{"count":21,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/112761\/revisions"}],"predecessor-version":[{"id":121367,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/112761\/revisions\/121367"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/media?parent=112761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/categories?post=112761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/tags?post=112761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}