*This plugin is not included, but it’s compatible with our theme. It must be purchased, installed and setup separately. This is only a guide help to help us WPML settings with the theme options.

WPML is a third party plugin. You can use this to create a multi-language website. The theme has been tested by WPML officially. These are instructions meant to help you set-up the plugins needed and translate the theme. The plugins may have extra settings. We kindly ask you to contact them for further support – http://wpml.org/forums/forum/english-support/

Link to WPML public test site for that theme: http://wprentals.compatibility.wpml.org/

What is needed to run these two softwares

WPML Multilingual CMS – http://wpml.org/purchase/

and

WPML Media

WPML String Translation

WPML Translation Management

Getting started section: Installing & activating both WPML & the theme / plugin

How to set and translate main features of the theme / plugin:

Required WPML Settings

1. Go to WPML -> Languages
2. Scroll down to ‘Language filtering for AJAX operations.’
3. Check the checkbox for the option ‘Store a language cookie to support language filtering for AJAX.’
4. Press the save button.

Please see attached screenshot

If you see double categories (translated categories) in property card or blog post, check in WPMl this setting is un-checked and save it as in the screenshot

Screenshots from WPRENTALS + WPML setup test area

Use string translation for translation source to be able to translate custom fields

Set in Translation Mangement which fields to translate (like custom fields) and the other elements to COPY (like price, author, Id, metaboxes – everything that you wish to copy and not translate)

In translate use the option to DUPLICATE a translation so the elements you set as copy sync automatically in translation.

How to translate custom Taxonomies

With WPML, you translate any categories and tags while translating the post content.

You can also translate categories, tags, and custom taxonomies on the WPML → Taxonomy Translation page. Let’s see an example of translating Property Statuses. You can then follow the same steps to translate post categories and tags along with any other custom taxonomies.

  1. Go to WPML → Taxonomy Translation
  2. Select the Property Categories from the drop-down menu and a list of categories will appear.
  3. Click the plus icon for translating a category of the respective language.

Categories translations should be done so that titles and slugs match in order for search to work.

  1. Fill in the translation and click the Save button.

How to set the map properties pins when WPML is active

Translating images

WPML automatically duplicates the images in the default language page to the secondary language page(s). To learn more about translating images, check out our detailed guide on translating images using Media Translation.

Translating sliders

WP Rentals theme ships with Slider Revolution plugin. Check our detailed guide on translating slides created using Slider Revolution.

How to translate custom fields

Theme Options – Property Details, Property labels in Advanced Search, Property Fields Labels are managed with WPML STRING TRANSLATION plugin. See below WPML references

Besides content coming from posts and pages on your site, there are usually some texts coming from other places. The most common examples are themes and plugins. To learn how to translate these texts, visit WPML’s documentation page about translating strings.

Go to WPML → String translation and search for the details text that you want to translate. Then, click the plus icon under the language you want to translate the company name into.

Navigating to the String translation screen and looking up the text you want to translate

Add the translation then click outside the translation field to save it.

Adding the translation

You can follow the same steps to translate any text under the theme options.

How to Translate a property with WPML, after you have done the above steps

How to Translate a page

WP Rentals theme is bundled with Elementor and WPBakery page builders. Both builders along with the WordPress default editor (Gutenberg) are compatible with WPML.

With WPML you can translate your website pages yourself, assign translation jobs to one of your local translators, or send the content to be translated by a professional translation service. You can manage your website’s translation using WPML’s Translation Management. Simply navigate to the WPML  Translation Management page to send content for translation. The first time you visit the Translation Management page, WPML will walk you through a quick setup wizard where you choose who will translate your site.

You can also translate the page by clicking the plus icon in the language meta-box on the page editing screen.

Translating menus

With WPML, you can easily synchronize your language menus. For more information, check out WPML’s guide on translating menus.

How to Translate Widgets

The only widget that needs translation is Featured Property widget since WPML creates a unique ID for translations. For this widget we recommend to use WPML Widget plugin to display the Featured Property widget based on the property ID in each translation. The rest Widgets text translate with POEDIT for each language as those are default texts.

Contact Widget details are translated from String Translation.

Getting help

In case you need help translating your site built using WP Residence theme and WPML, visit WPML’s support forum.