{"id":418425,"date":"2014-06-13T11:18:10","date_gmt":"2014-06-13T11:18:10","guid":{"rendered":"http:\/\/wpml.org\/?p=418425"},"modified":"2014-06-13T11:54:47","modified_gmt":"2014-06-13T11:54:47","slug":"find-quickly-theme-works-wpml","status":"publish","type":"post","link":"https:\/\/wpml.org\/fr\/announcements\/2014\/06\/find-quickly-theme-works-wpml\/","title":{"rendered":"Find out quickly how your theme works with WPML"},"content":{"rendered":"<p><strong>WPML team has just made compatibility testing so much easier. The new <a href=\"https:\/\/wpml.org\/documentation\/support\/multilingual-tools\/\">WPML Compatibility Test Tool<\/a> will allow you to identify problems and solve in minutes, instead of hours.<\/strong><\/p>\n<p>You might have heard about our <a href=\"https:\/\/wpml.org\/documentation\/support\/go-global-program\/\">Go Global<\/a> program, in which we work with theme and plugin authors to test for compatibility for multilingual sites.<\/p>\n<p>We get <em>a lot<\/em> of requests, so that even a team of three full-time developers is finding it challenging to keep up. So, we are constantly looking for ways to make the compatibility process faster and easier. We found that much of the time spent on evaluating compatibility goes to creating test content. Complex themes use a lot more than posts and pages. They use custom types and taxonomy, fields, widgets and menus. Producing test content for multilingual sites is a pain in the b#!!.<\/p>\n<p>We set out to create a tool that will automate it for us and so was born the <a href=\"https:\/\/wpml.org\/documentation\/support\/multilingual-tools\/\">WPML Compatibility Test Tool<\/a> plugin.<\/p>\n<figure id=\"attachment_417554\" aria-describedby=\"caption-attachment-417554\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/06\/wctt-settings.png\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/06\/wctt-settings-300x210.png\" alt=\"Settings page in the testing tool\" width=\"300\" height=\"210\" class=\"size-medium wp-image-417554\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/06\/wctt-settings-300x210.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/06\/wctt-settings-150x105.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/06\/wctt-settings-1024x719.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/06\/wctt-settings.png 1236w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-417554\" class=\"wp-caption-text\">Settings page in the testing tool<\/figcaption><\/figure>\n<p>The compatibility test tool will automatically generate test translations for all strings, posts and taxonomy in your site. This includes all standard and custom fields.<\/p>\n<p>You can even set the template for this auto-generated translation, making it easy to notice what&rsquo;s translated and what&rsquo;s stuck in the default language.<\/p>\n<table>\n<tr>\n<th style=\"width:50%;\">Post in English<\/th>\n<th style=\"width:50%;\">Post with auto-generated Spanish translation<\/th>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/english-2014-post.jpg\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/english-2014-post-300x232.jpg\" alt=\"english-2014-post\" width=\"300\" height=\"232\" class=\"aligncenter size-medium wp-image-393059\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/english-2014-post-300x232.jpg 300w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/english-2014-post-150x116.jpg 150w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/english-2014-post-1024x794.jpg 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/english-2014-post.jpg 1043w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<td><a href=\"http:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/spanish-2014-post.jpg\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/spanish-2014-post-300x225.jpg\" alt=\"spanish-2014-post\" width=\"300\" height=\"225\" class=\"aligncenter size-medium wp-image-393060\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/spanish-2014-post-300x225.jpg 300w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/spanish-2014-post-150x112.jpg 150w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/spanish-2014-post-1024x770.jpg 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2014\/05\/spanish-2014-post.jpg 1039w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<\/tr>\n<\/table>\n<h2>How to Use the Compatibility Test Tool<\/h2>\n<p>To use this tool, you should:<\/p>\n<ol>\n<li>Activate WPML, String Translation (if you&rsquo;re using it) and your theme<\/li>\n<li>Set up WPML and add some languages<\/li>\n<li>Import test content &#8211; almost all themes come with some sample content that demonstrates its features<\/li>\n<li>Scan the theme for strings<\/li>\n<li>Use the compatibility test tool to auto-translate everything<\/li>\n<li>Go to WPML-&gt;Translation Management-&gt;Translation Dashboard and duplicate all content<\/li>\n<li>Browse the site, switch languages and check which texts appear without &lsquo;translation&rsquo;<\/li>\n<\/ol>\n<p>For step by step instructions, with screenshots, visit the <a href=\"https:\/\/wpml.org\/documentation\/support\/multilingual-tools\/\">WPML Compatibility Test Tool<\/a> page.<\/p>\n<p>This tool will generate all the site&rsquo;s translation, or overwrite existing translations. Of course, you should <strong>only use it on test sites and not on any production or development sites<\/strong>. All existing translation will be wiped clean.<\/p>\n<h2>Who Needs This Compatibility Testing Tool<\/h2>\n<p>Naturally, our own compatibility and support teams are using this tool. We use it on both single WordPress installs and network sites, which we use for testing purposes.<\/p>\n<p>If you run an agency and work with different themes, you can follow the same practice. Set up a network site with WPML and this test tool. When you consider using a new theme for clients, give it a go on that site and see how everything translates. The tool doesn&rsquo;t fix problems for you, but it makes finding them very easy. With automatic dummy translations, it&rsquo;s also easy to confirm that your fixes work.<\/p>\n<h2>Download<\/h2>\n<p>You can download this test tool from your <a href=\"https:\/\/wpml.org\/account\/\">WPML account<\/a>. Go to the Downloads section and scroll to the bottom.<\/p>\n<h2>Feedback?<\/h2>\n<p>This tool has already reduced our testing time from several hours (per theme) to around 30 minutes. We test a great many themes, so this number matters to us a lot. Let us know if it helps you too and if you have any suggestions for future improvements.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPML team has just made compatibility testing so much easier. The new WPML Compatibility Test Tool will allow you to identify problems and solve in minutes, instead of hours. You might have heard about our Go Global program, in which we work with theme and plugin authors to test for compatibility for multilingual sites. We [&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-418425","post","type-post","status-publish","format-standard","hentry","category-announcements"],"_links":{"self":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/418425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/comments?post=418425"}],"version-history":[{"count":6,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/418425\/revisions"}],"predecessor-version":[{"id":418470,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/418425\/revisions\/418470"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/media?parent=418425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/categories?post=418425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/tags?post=418425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}