{"id":792,"date":"2025-03-24T14:27:41","date_gmt":"2025-03-24T14:27:41","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/wpml-multilingual-setup-guide\/"},"modified":"2025-04-03T15:24:02","modified_gmt":"2025-04-03T14:24:02","slug":"wpml-multilingual-setup-guide","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/wp-multilingual\/wpml-multilingual-setup-guide\/","title":{"rendered":"WPML Multilingual Setup Guide"},"content":{"rendered":"\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">This setup guide will run through a typical setup of the <a href=\"https:\/\/wpgeodirectory.com\/downloads\/wpml-multilingual\/\">GeoDirectory WPML Multilingual<\/a> extension from start to finish.<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/wpgeodirectory.com\/downloads\/wpml-multilingual\/\">GeoDirectory WPML Multilingual<\/a> extension helps you translate GeoDirectory custom fields, and allows your listing owners to click a link to create a new translation of their listing &#8211; through the frontend.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">For a <strong>full list of features see<\/strong> the <a href=\"https:\/\/wpgeodirectory.com\/downloads\/wpml-multilingual\/\">WPML Multilingual<\/a> product page.<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install WPML\u00a0<\/li>\n\n\n\n<li>Install the GeoDirectory WPML Multilingual extension <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/category\/installing-extensions\/\">Guide<\/a><\/li>\n\n\n\n<li>Set the GD > Post WPML Duplicate widget on the GD Details page template.<\/li>\n<\/ol>\n\n\n\n<p>The widget is often placed in the sidebar, just under the GD Author Actions widget.<\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-warning mb-3\" role=\"alert\"><span class=\"fas fa-exclamation-triangle me-2\"><\/span><span class=\"flex-grow-1\">It is noteworthy that you will need to setup WPML plugin in order to translate your listings to multiple language. <a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/\">Read the WPML documentation for details<\/a>.<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Adjust Settings<\/h2>\n\n\n\n<p><strong>Once installed and activated<\/strong>, the only setting is located at <strong>CPT &gt; Settings &gt; General <\/strong>page. Upon clicking the <strong>&#8220;Show Advanced&#8221; <\/strong>button and scrolling down to the <strong>WPML <\/strong>section, you will find an option to allow users to translate their listings from the frontend:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-zW4PdKCzxm-1024x154.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The WPML Multilingual extension comes with <strong style=\"background-color: initial;\">sane defaults<\/strong> meaning the <strong style=\"background-color: initial;\">default settings will work for the majority of users.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup GD Pages and Templates<\/h2>\n\n\n\n<p>All GD pages and templates will need to duplicated and translated with the WPML settings found in pages. They must be recreate for&nbsp;in each language that you configure via WPML. This includes the Search, Archive, Listing Details, Add listing, Location and other such pages. The archive item does not usually need to be translated.<\/p>\n\n\n\n<p>You can utilize the WPML metabox in the backend to add additional translations for each page. Once again, you should refer to WPML documentation for further details about its usage.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-x38IMFJUt8.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Translate Categories<\/h2>\n\n\n\n<p>Use the WPML built in features to translate categories. Listings are required to save a listing translation. Make sure you have translated all your categories before you start duplicating listings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Custom Fields, Title and Meta<\/h2>\n\n\n\n<p>When adding more than one language to your site, you should refrain from editing your titles and meta at <strong>GD &gt; Settings &gt; General &gt; Titles &amp; Meta.&nbsp;<\/strong><\/p>\n\n\n\n<p>Instead, you should use the <strong>WPML String Translation <\/strong>addon to translate your titles and meta. Similarly, for custom fields as well, you should avoid using the <strong>CPT &gt; Settings &gt; Custom Fields <\/strong>section when working with multiple languages, and rely on the <strong>String Translation <\/strong>addon for WPML.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Usage<\/h2>\n\n\n\n<p>To translate listings:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit the listing<\/li>\n\n\n\n<li>Use the links in the GD Post WPML Multilingual widget to create new translations.\u00a0<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Overview The GeoDirectory WPML Multilingual extension helps you translate GeoDirectory custom fields, and allows your listing owners to click a link to create a new translation of their listing &#8211; through the frontend.&nbsp; Installation The widget is often placed in the sidebar, just under the GD Author Actions widget. Adjust Settings Once installed and activated, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[628,629,630,631,627],"article\/categories":[213,411],"class_list":["post-792","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-translation","gd_place_tags-localization","gd_place_tags-wpml-addon","gd_place_tags-geodirectory-translation","gd_place_tags-wpml","gd_placecategory-extensions-features","gd_placecategory-wp-multilingual"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=792"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/792\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=792"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=792"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}