Houzez is a popular WordPress real estate theme that allows you to manage property listings with a wide range of options and customizations. Using WPML and Houzez, you can build multilingual real estate websites.
On This Page:
- Getting Started
- Translating Posts and Pages
- Translating Properties, Agencies, and Agents
- Translating Property Labels via String Translation
- Assigning a Translated Property to an Agent
- Translating Taxonomies
- Setting the Translation Preference for Fields Builder
- Translating Menus
- Known Issues
Start by installing and activating the following:
- Houzez theme
- WPML core plugin and WPML String Translation add-on
If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through different translation options you can use.
WPML’s Translate Everything Automatically mode allows you to automatically translate your whole site. However, at the moment, the Houzez theme doesn’t fully support this mode. We’re working with the theme’s authors to solve this soon.
The Houzez theme comes with some built-in post types like Properties, Agencies, and Agents. Translating them requires some extra steps as detailed below.
Below, we’ll show you how to translate a property. You can use these steps to translate other post types provided by the Houzez theme.
To translate a property and its fields, edit it and click the plus icon in the right sidebar’s Language section.
You are taken to the WPML Advanced Translation Editor to add your translations.
Once you have added and confirmed translations for each field, click Complete. Now, we need to translate the remaining strings.
As you can see from the above example, there are some property labels that do not appear in the Translation Editor. These texts can be translated via String Translation.
To make the property labels translatable, go to Theme Options page and click the Translation tab.
Go to the WPML → Theme and Plugins Localization page. Select and scan the Houzez theme in the Strings in the themes section.
Now, you can proceed to translate the labels:
- Go to WPML → String Translation and select the admin_texts_houzez_options domain.
- Now, search for strings that you would like to translate. You will notice there are multiple entries for the same label. You need to translate only the ones whose names follow this format: [houzez_options]sps_XXXX (where “XXXX” is the last part of the name).
For example, if you want to translate the “Description” string, follow the steps above and look for the [houzez_options]sps_description name. Click the plus icon to add the translation.
Once saved, the translated version of this label will appear on the front-end of your Property posts when switching to the secondary language.
You can follow this same process to translate any remaining labels or strings coming from the theme. For more information, check out our page about translating texts using String Translation.
When you translate a Property page, it doesn’t get automatically assigned to the translated version of the Agent profile. You have to connect them yourself.
You must translate both the Property and the Agent to be able to connect them.
Use the following steps to assign a translated property to an agent:
- Edit the property in the secondary language. To do this, you can navigate to the list of Properties in the admin and then use the language switcher in the top admin bar to switch to that language.
- When you select to edit the property, a warning message appears to let you know that you are trying to edit the translation using the WordPress default editor. Dismiss the message by clicking the Edit anyway button.
- Select the Contact Information tab in the Houzez settings panel. Select the Agent Info option and then the translated version of the Agent profile.
- Click the Update button.
Houzez comes with the following custom taxonomies:
Some categories and tags (taxonomies) assigned to posts and properties will appear for translation while translating the page using the Advanced Translation Editor.
Custom Houzez taxonomies can be translated with WPML’s Taxonomy Translation.
- Go to the WPML → Taxonomy Translation.
- In the dropdown on the top of the page, select the taxonomy you would like to translate.
For example, you could select Houzez’ Labels. When you do that, a window will appear showing the available terms to translate.
- To add a translation to a term, simply click the plus icon for it. A pop-up dialog appears and you can enter the translation.
- Click Save.
Continue the same process for all of our remaining taxonomies.
Make sure to translate the taxonomy name and slug in the section at the bottom of the translations panel (see below). This will ensure that the name of the taxonomy will also appear translated in URLs and other sections of your site.
You can add your own custom fields to properties, including Text, Number, Checkbox and more. To do this, go to Houzez → Fields Builder and click Add New.
To be able to translate these custom fields, you need to make them translatable. Learn about how to do this in our guide about translating custom fields.
With WPML, you can easily synchronize your menus across the different languages that you have on your website. For details, check out our guide on translating menus.
Current unresolved issues:
You can also search all known issues including previously resolved issues for this theme.