{"id":142310,"date":"2013-07-08T08:42:48","date_gmt":"2013-07-08T08:42:48","guid":{"rendered":"http:\/\/wpml.org\/?p=142310"},"modified":"2017-11-30T12:48:17","modified_gmt":"2017-11-30T12:48:17","slug":"wpml-2-9-released","status":"publish","type":"post","link":"https:\/\/wpml.org\/zh-hans\/changelog\/2013\/07\/wpml-2-9-released\/","title":{"rendered":"WPML 2.9 Released"},"content":{"rendered":"<p><strong>WPML 2.9 is officially out with new features, fixes and enhancements that we&#8217;re sure you will love.<\/strong><\/p>\n<p>The language switcher section received a major overhaul in this version, making it a lot easier to build all sorts of language switchers.<\/p>\n<h2>Flags-only language switcher (without writing code)<\/h2>\n<p>We&#8217;ve enabled the option to display just flags and added an option to display list-style language switchers horizontally. Together, these two features let you create flag-only language switchers and display them as widgets.<\/p>\n<figure id=\"attachment_142243\" aria-describedby=\"caption-attachment-142243\" style=\"width: 96px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"size-full wp-image-142243\" alt=\"flag-languages\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2013\/05\/flag-languages.png\" width=\"96\" height=\"58\" \/><figcaption id=\"caption-attachment-142243\" class=\"wp-caption-text\">Flags-only language switcher without coding<\/figcaption><\/figure>\n<p>In addition, WPML 2.9 improves the drag-and-drop language ordering.<\/p>\n<p>The <a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/language-setup\/language-switcher-options\/\">language switcher options<\/a> page got a complete rewrite and it now covers everything that WPML can do.<\/p>\n<h2>Folder for the default language<\/h2>\n<p>WPML 2.9 lets you display the default language for your site in a language-folder. So, your site&#8217;s URLs can look like:<\/p>\n<p><code><br \/>\nexample.com\/en\/<br \/>\nexample.com\/es\/<br \/>\nexample.com\/fr\/<br \/>\n<\/code><\/p>\n<p>To enable, select the \u00a0<strong>Use directory for default language<\/strong> option in the <strong>Language URL format<\/strong> box.<\/p>\n<figure id=\"attachment_142318\" aria-describedby=\"caption-attachment-142318\" style=\"width: 655px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"size-full wp-image-142318\" alt=\"Folder for the default language\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2013\/07\/folder-for-default-language.png\" width=\"655\" height=\"304\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2013\/07\/folder-for-default-language.png 655w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/07\/folder-for-default-language-150x69.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2013\/07\/folder-for-default-language-300x139.png 300w\" sizes=\"(max-width: 655px) 100vw, 655px\" \/><figcaption id=\"caption-attachment-142318\" class=\"wp-caption-text\">Folder for the default language<\/figcaption><\/figure>\n<p>When you enable this option, you can choose what goes into the root directory. This can be either a WordPress page or a static HTML file. If you want the root page to look exactly like other pages in your site, a WordPress page will be fine. If you want it to look completely different, like the world&#8217;s map, you can create a static HTML file.<\/p>\n<h2>bbpress Compatibility Fix<\/h2>\n<p>This one kinda went under the radar for us. Since bbpress 2.3 was released, it became incompatible with WPML, in a very basic way. bbpress initialization order has changed, making it load before WPML loaded. This created a race condition, leading to bbpress menus to be hidden.<\/p>\n<p>We had to rework WPML&#8217;s init sequence to adapt to this change. As a result, WPML and bbpress are fully compatible again.<\/p>\n<h2>Front-end Translation<\/h2>\n<p>We&#8217;ve been quietly working on a new way for you to translate sites &#8211; from front-end forms, and it&#8217;s ready now.\u00a0Using <a href=\"https:\/\/toolset.com\/home\/cred\/\">CRED<\/a>, our front-end content editing plugin, you will now be able to create forms for translating content from front-end pages.<\/p>\n<p>You might be wondering what good is front-end translation. Good question!<\/p>\n<p>When you create front-end translation forms, you have complete control over the translation interface. You can build these forms using a mix on HTML and shortcodes (for inputs). This way, you can style the translation interface to match the content.<\/p>\n<p>For example, if you&#8217;re translating &#8216;houses&#8217;, you&#8217;ll write the labels and group fields so that it&#8217;s super-clear to the translator what each field means. This level of customization is only possible when you really know what you&#8217;re translating and what each field means.<\/p>\n<p>Another advantage of front-end translation is that your translators don&#8217;t need to go into the WordPress admin. They see the familiar translation interface, right on the site&#8217;s public pages. Translators click on the + icons to add content or the &#8216;edit&#8217; icons to edit them.<\/p>\n<p>Using <strong>CRED Frontend Translation<\/strong>, your translators get the same privileges that you define in WPML&#8217;s Translation Management. You choose if translators can work in the WordPress backend, frontend pages or both.<\/p>\n<p>To enjoy frontend translation capabilities for your site, you will need to buy <a href=\"https:\/\/toolset.com\/home\/cred\/\">CRED<\/a> and have a <strong>CMS<\/strong> account for WPML. Then, download <strong>CRED Frontend Translation<\/strong> from your account and you&#8217;re good to go.<\/p>\n<h2>Other Changes<\/h2>\n<p>Along with these major changes, WPML 2.9 includes a list of smaller enhancements and fixes.<\/p>\n<ul>\n<li>Title tags added to navigation<\/li>\n<li>rel=canonical now optional configurable under WPML -&gt; Languages \u2192 SEO Options<\/li>\n<li>Allow to select all languages when sending documents to translation from the Translation Dashboard<\/li>\n<li>Improved Import\/export .po from String Translation screen<\/li>\n<li>Preserve url parameters in the language switcher<\/li>\n<li>Duplicate all custom fields and taxonomy when duplicating the post<\/li>\n<li>New function in the Troublshooting section to set update translaiton tables after changing the slug for custom posts or custom taxonomies that had translated elements.<\/li>\n<li>Allow re-assigning translation jobs<\/li>\n<\/ul>\n<p>Bug fixes:<\/p>\n<ul>\n<li>Browser language redirect (some IE versions)<\/li>\n<li>Custom flag icons do not display on post table columns (posts screen)<\/li>\n<li>Slug translation in LS not working when WPML default language is different than ST original language<\/li>\n<li>Language order not applied before first drag<\/li>\n<li>Changing the slug of a taxonomy breaks things<\/li>\n<li>Wrong url for custom posts with translated slug.<\/li>\n<\/ul>\n<p>Misc:<\/p>\n<ul>\n<li>Changed references to deprecated jQuery function live()<\/li>\n<\/ul>\n<h2>Next for WPML<\/h2>\n<h3>Better Multilingual E-Commerce<\/h3>\n<p>Our next major milestone for WPML is actually not going into WPML, but into WPML Multilingual &#038; Multicurrency for WooCommerce. Like you <a href=\"https:\/\/wpml.org\/zh-hans\/announcements\/2013\/06\/whats-up-with-wpml-and-woocommerce-multilingual\/\">probably read here already<\/a>, we are completely rebuilding WPML Multilingual &#038; Multicurrency for WooCommerce. Our aim is to provide the best possible experience, running multilingual e-commerce sites.<\/p>\n<p>In this spirit, the next minor WPML release will be dedicated to adding features that are needed for multilingual e-commerce. The major one is a centralized translation page for taxonomy. It will all become a lot clearer when we release the first beta of the new WPML Multilingual &#038; Multicurrency for WooCommerce plugin.<\/p>\n<p>We&#8217;re talking about WooCommerce, but once it&#8217;s ready for WooCommerce, we&#8217;ll make that plugin generic to support also Jigoshop, MarketPress and possibly WPEC.<\/p>\n<h3>Complete Roles Management<\/h3>\n<p>Just like many of you, we&#8217;re growing here. Just a few years back, there were 3 of us doing everything. Now, we&#8217;re over 30 people and everything becomes more complex. Managing the translations for our different sites is one of the tasks that we want to streamline.<\/p>\n<p>It would be great if we could have someone managing translations. Today, that someone needs to be a WordPress admin. It&#8217;s problematic.<\/p>\n<p>For WPML 3.0, we plan to create a new role called &#8216;Translation Manager&#8217;. That manager will be able to send content to translation (posts, taxonomy, strings and products). They will be able to communicate with translators, raise issues and edit the translation.<\/p>\n<p>If you too see a good use for a translation manager, add your comments here and tell us about how you see it working.<\/p>\n<h2>What do You Think?<\/h2>\n<p>Do you like the new features in WPML 2.9? Any suggestions or ideas?<\/p>\n<p>We can&#8217;t implement everything immediately, but we&#8217;re very happy to hear from you and see what can go into upcoming releases. <strong>Leave your comments and let us know<\/strong>.<\/p>\n<h2>BTW, We&#8217;re Still Hiring<\/h2>\n<p>At the moment, we have openings for three developers. If you&#8217;re an outstanding developer, a fun person to work with and want to join a place that&#8217;s both a job and a family, please <a href=\"https:\/\/www.onthegosystems.com\/jobs\/\">contact us<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPML 2.9 is officially out with new features, fixes and [&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":[48],"tags":[],"class_list":["post-142310","post","type-post","status-publish","format-standard","hentry","category-changelog"],"_links":{"self":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/142310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/comments?post=142310"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/142310\/revisions"}],"predecessor-version":[{"id":1445859,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/142310\/revisions\/1445859"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media?parent=142310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/categories?post=142310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/tags?post=142310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}