{"id":8031153,"date":"2021-02-08T11:45:49","date_gmt":"2021-02-08T11:45:49","guid":{"rendered":"https:\/\/wpml.org\/?p=8031153"},"modified":"2021-05-25T11:09:30","modified_gmt":"2021-05-25T11:09:30","slug":"how-to-build-multilingual-directory-and-listing-sites-in-2021","status":"publish","type":"post","link":"https:\/\/wpml.org\/it\/tutorials\/2021\/02\/how-to-build-multilingual-directory-and-listing-sites-in-2021\/","title":{"rendered":"How to Build Multilingual Directory and Listing Sites in 2021"},"content":{"rendered":"\n<p class=\"lead\">Many businesses went online in 2020 and the trend continues. Today, clients expect websites to give complete information about what the business offers. For this, you often need to add a \u201cdirectory\u201d or \u201clisting\u201d (same thing, different word) to your sites. In this tutorial, we teach what multilingual directories need and how to build them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are Directories<\/h2>\n\n\n\n<p>A directory is anything that lists many items. It can be a complete site like Craigslist, a table of the products that you offer, a map of your service points and many other things.<\/p>\n\n\n\n<p>In some directories, the admin will populate all content into WordPress. In other directories, visitors (or members) will create entries and in other directories, you\u2019ll import content from an external site.<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"3d9c399fe625e1b972f817a0680229f6\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"cfb6a0b60c540f84613be244e8916557\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-1.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-1-500x514.png\" alt=\"\" class=\"wp-image-8042337\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Site listing animal nutrition products<\/figcaption><\/div><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"8ee97596f5f151da47bf12fd4241ce22\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-3.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-3-500x514.png\" alt=\"\" class=\"wp-image-8042381\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Details for a single travel tour<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"44c7f541edbb2572828dd4700a55147e\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-4.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-4-500x514.png\" alt=\"\" class=\"wp-image-8042359\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Directory site with offers and discounts<\/figcaption><\/div><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"74a71c62652ef1575b97e994d3fbed05\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-5.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/directory-example-5-500x514.png\" alt=\"\" class=\"wp-image-8042403\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Details for a single real estate listing<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p><\/p>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What Makes a Directory<\/h2>\n\n\n\n<p>Directory and listing sites have a mixture of features. Some directories will have all these features, but most directories will have a subset of them.<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"56fb2f2e6ff89efa941db6eff432ee03\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"dfefd381ac651fbbd4099db947f219a6\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/view-items.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/view-items-500x485.png\" alt=\"\" class=\"wp-image-8062415\"\/><\/a><div class=\"tb-image-caption\"><figcaption>List of directory items<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"e5fab6f4e5152bcc9a114873f6e68a1b\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/search-for-items-1.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/search-for-items-1-500x485.png\" alt=\"\" class=\"wp-image-8062437\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Search for items<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"72238ec8e3c8efc832eefb5b8dd07ea8\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item.png\"><img decoding=\"async\" width=\"1400\" height=\"1360\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item.png\" alt=\"\" class=\"wp-image-8062471\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item.png 1400w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item-300x291.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item-1024x995.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item-150x146.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/featured-item-768x746.png 768w\" sizes=\"auto, (max-width: 1400px) 100vw, 1400px\" \/><\/a><div class=\"tb-image-caption\"><figcaption>Lists of featured items<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"0e17bb59cd57e5cbf6b7f378842eafc1\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template.png\"><img decoding=\"async\" width=\"1400\" height=\"1360\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template.png\" alt=\"\" class=\"wp-image-8062493\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template.png 1400w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template-300x291.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template-1024x995.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template-150x146.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/individual-template-768x746.png 768w\" sizes=\"auto, (max-width: 1400px) 100vw, 1400px\" \/><\/a><div class=\"tb-image-caption\"><figcaption>Templates for displaying individual items<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"302ed2a21dfb84a329e8bd6a7ed94b68\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form.png\"><img decoding=\"async\" width=\"1400\" height=\"1360\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form.png\" alt=\"\" class=\"wp-image-8062515\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form.png 1400w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form-300x291.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form-1024x995.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form-150x146.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-form-768x746.png 768w\" sizes=\"auto, (max-width: 1400px) 100vw, 1400px\" \/><\/a><div class=\"tb-image-caption\"><figcaption>Using a front-end form to edit an item<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\"><div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"f2d7359def0d3909dc4f55fc83042e00\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items.png\"><img decoding=\"async\" width=\"1400\" height=\"1360\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items.png\" alt=\"\" class=\"wp-image-8062539\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items.png 1400w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items-300x291.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items-1024x995.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items-150x146.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2021\/02\/edit-items-768x746.png 768w\" sizes=\"auto, (max-width: 1400px) 100vw, 1400px\" \/><\/a><div class=\"tb-image-caption\"><figcaption>Account page where members can edit items<\/figcaption><\/div><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<p>The directory can be the whole site or only a section in a site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What\u2019s Unique About Multilingual Directories<\/h2>\n\n\n\n<p>When you\u2019re creating a multilingual directory, you need to think about how to create and display content in different languages. There\u2019s no \u201cone size fits all\u201d. Instead, it depends on the business and its objectives.<\/p>\n\n\n\n<p>You could:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Accept listings only in the site\u2019s default language and show them untranslated in all languages<\/li><li>Accept listings only in the site\u2019s default language and translate them to different languages<\/li><li>Accept listings in any language and show them in that language only<\/li><li>Accept listings in any language and translate them to the rest of the site\u2019s languages<\/li><\/ul>\n\n\n\n<p>And, of course, you may need multilingual forms for submitting entries, multilingual account pages, and so on.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Build Multilingual Directory Sites<\/h2>\n\n\n\n<p>After a lot of research, WPML team has put together a short list of <a href=\"https:\/\/wpml.org\/it\/plugin-functionality\/directory-it\/\">plugins that will allow you to build multilingual directories<\/a>. The directory themes that we reviewed (true for January 2021) did not work fully in multilingual sites.<\/p>\n\n\n\n<p>So, your best option is to pick a \u201cgeneral purpose\u201d theme and add the directory functionality using a plugin.<\/p>\n\n\n\n<p>The plugin options that we recommend are either the <a href=\"https:\/\/wpml.org\/plugin\/business-directory\/\">Business Directory plugin<\/a> or <a href=\"https:\/\/toolset.com\/\">Toolset<\/a>. These two options are very different and each has its cons and pros (fits a different audience, with different needs).<\/p>\n\n\n\n<p>The Business Directory plugin offers a \u201cblack box\u201d that implements the complete directory functionality for you. You\u2019ll need to install and configure it and you get a working directory. The folks from the Business Directory plugin have created a <a href=\"https:\/\/businessdirectoryplugin.com\/knowledge-base\/wpml\/\">mini-guide on how to translate everything coming from their plugin<\/a>.<\/p>\n\n\n\n<p>Toolset takes a different approach. Instead of a complete solution, you get building blocks, which you can put together any way you want. This means more to learn the first time, but more flexibility and control over the final result. Toolset offers a complete <a href=\"https:\/\/toolset.com\/course\/wordpress-directory-and-classifieds-sites\/\">course on building directory sites<\/a>, including an entire chapter on <a href=\"https:\/\/toolset.com\/course-chapter\/translating-directory-and-classifieds-sites\/\">translating directory sites<\/a>.<\/p>\n\n\n\n<p>Our <a href=\"https:\/\/toolset.com\/course\/wordpress-design-course\/\">free course on design<\/a> will show you how to get sleek and professional look for your multilingual WordPress site, even if you\u2019re not a designer.<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"8d4167bba29b9f235c76ec5a815b91cc\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<h4 class=\"tb-heading\" data-toolset-blocks-heading=\"3875070124529b2eee763d7f9fcfa1f8\" data-last-update=\"1.4\">Business Directory Plugin<\/h4>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<h4 class=\"tb-heading\" data-toolset-blocks-heading=\"3875070124529b2eee763d7f9fcfa1f8\" data-last-update=\"1.4\">Toolset&#8217;s Course on Directory Sites<\/h4>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"tb-youtube\" data-toolset-blocks-youtube=\"a929cdb162159dd0a16e48558c395d5d\"><div><iframe data-src=\"https:\/\/www.youtube.com\/embed\/KNPQPjlCBdM?rel=0&#038;toolset=1\" frameBorder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"tb-youtube\" data-toolset-blocks-youtube=\"0fdec42b2c8588451d0cd23fe06dc0b9\"><div><iframe data-src=\"https:\/\/www.youtube.com\/embed\/GGeU1qKdE9M?rel=0&#038;toolset=1\" frameBorder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Post Relationship in Multilingual Directory Sites<\/h2>\n\n\n\n<p>Almost every directory site will use <a href=\"https:\/\/toolset.com\/course-lesson\/what-are-post-relationships-and-how-they-work\/\">post relationship<\/a>. For example, a car dealership will connect between &#8220;cars&#8221; and &#8220;makers&#8221;. A real estate site will connect between &#8220;properties&#8221; and &#8220;agents&#8221;. An events website will connect between &#8220;events&#8221;, &#8220;venues&#8221; and &#8220;speakers&#8221;.<\/p>\n\n\n\n<p>As of version 1.3, Toolset has full support for multilingual post relationships. This means that you can create and connect content in any language, without always going through the site&#8217;s default language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Thinking About How to Build Your Own Directory?<\/h2>\n\n\n\n<p>Rich directory sites are complex projects. We&#8217;ll be happy to help with tips and ideas from our experience. Leave your comments and we&#8217;ll get back to you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many businesses went online in 2020 and the trend continues. Today, clients expect websites to give complete information about what the business offers. For this, you often need to add a \u201cdirectory\u201d or \u201clisting\u201d (same thing, different word) to your sites. In this tutorial, we teach what multilingual directories need and how to build them. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":8053659,"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":[8],"tags":[],"class_list":["post-8031153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/8031153","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/comments?post=8031153"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/8031153\/revisions"}],"predecessor-version":[{"id":8840909,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/posts\/8031153\/revisions\/8840909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/media\/8053659"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/media?parent=8031153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/categories?post=8031153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/tags?post=8031153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}