WPML Multilingual Setup Guide
This setup guide will run through a typical setup of the WPML Multilingual extension from start to finish.
The WPML Multilingual extension acts as a bridge between GeoDirectory v2 and WPML. If you are using just one language on your site, you do not need this extension. However, if you are using the WPML plugin to add additional languages to your site, the WPML Multilingual extension can help you get the most out of your GD site.
For a full list of features see the WPML Multilingual product page.
The first step if you haven't already, is to install the WPML Multilingual extension. This can be done by following our guides on how to install an extension.
Once installed and activated, there are no real settings to configure. WPML Multilingual will work right out of the box, assuming you have the WPML translation plugin configured.
The only setting worth talking about is located at CPT > Settings > General page. Upon clicking the "Show Advanced" button and scrolling down to the WPML section, you will find an option to allow users to translate their listings from the frontend:
Then make sure to add the GD > Post WPML Duplicate widget to the detail page.
GD Listings must be duplicated for translation with the GD > Post WPML Duplicate.
The WPML Multilingual extension comes with sane defaults meaning the default settings will work for the majority of users.
It is noteworthy that you will need to setup WPML plugin in order to translate your listings to multiple language. Read the WPML documentation for details.
GD Pages and Templates
All GD pages and templates will need to duplicated and translated with the WPML settings found in pages. They must be recreate for in each language that you configure via WPML. This includes the Search, Archive, Listing Details, and other such pages.
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.
Custom Fields, Title and Meta
When adding more than one language to your site, you should refrain from editing your titles and meta at GD > Settings > General > Titles & Meta.
Instead, you should use the WPML String Translation addon to translate your titles and meta. Similarly, for custom fields as well, you should avoid using the CPT > Settings > Custom Fields section when working with multiple languages, and rely on the String Translation addon for WPML.