WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Translations & Languages / Multi Languages with WPEstate Translate plugin

Multi Languages with WPEstate Translate plugin

235 views 0
Watch the full setup of a multilingual real estate website with WPResidence and WPEstate Translate. Watch Video on Youtube

WPEstate Translate turns a WPResidence website into a multilingual one: properties, agents, agencies, developers, pages, menus, categories and theme texts in every language you add. These steps are for version 1.0.9. Update the plugin first if your version is older.

CONTENT

  • What You Can Translate
  • How Visitors Get Their Language
  • Set Up the Languages
  • Translate Properties, Pages and Posts
  • Translate Categories, Cities and Features
  • Translate Menus
  • Custom Field Rules
  • Translate Theme and Plugin Texts
  • Theme Options Texts
  • Property, Agent, Agency and Developer URL Names
  • Add the Language Switcher
  • Translate WPResidence Studio Templates
  • A Text Is Still Not Translated

What You Can Translate

A short tour of WPEstate Translate: what it does and which content it translates. Watch Video on Youtube
Content Where you translate it
Properties, agents, agencies, developers, pages, posts A linked copy of each item, one per language
Property categories, actions, cities, areas, features A linked copy of each term
Menus A separate menu for each language
Buttons, labels, forms, dashboard and email texts .po files and WPEstate Translate > Theme & Plugins Strings
Headers, footers and property page layouts built in Studio A linked copy of each Studio template

How Visitors Get Their Language

The language comes from the address. The default language has no prefix, for example example.com/properties/. Every other language opens under its own prefix, for example example.com/br/. Visitors change the language with the language switcher. The plugin also adds hreflang tags so search engines find each version.

Set Up the Languages

Install the plugin, add languages, choose the default one and turn languages on or off. Watch Video on Youtube
  1. Install and activate WPEstate Translate. The WPEstate Translate menu appears in wp-admin.
  2. Open WPEstate Translate > Languages. Pick a language in Language Catalog and click Add language. Repeat for each language.
  3. Choose the default language with the Default radio button. It is the language of your existing content.
  4. Click Save languages.

WPEstate Translate Languages Manager in WPResidence

Use Content language in the top admin bar to choose which language you see in the wp-admin lists.

Translate Properties, Pages and Posts

Translate properties, agents, agencies, developers, pages and posts by hand or automatically. See how to add a translation from the editor or the Language column, then fill it yourself or with OpenAI, Google, DeepL or Azure. Watch Video on Youtube

A translation always starts as a copy of the original: text, Elementor layout, images, property details, agent and floor plans. You then change the text yourself or let a translation service do it.

By hand

  1. Open the original from Properties, Pages, Posts, Agents, Agencies or Developers.
  2. Click Add Português translation (your language) in the Automatic Translation box on the right. For an item that already has a translation, the link reads Edit Português translation.
  3. Change the title and the texts. For Elementor pages click Edit with Elementor and replace the text in each widget.
  4. Publish.

Property editor with the Add translation links in the Automatic Translation box

The Language column of each list does the same: Add br creates the translation, View br opens it.

Pages list with the Language column in WPResidence

With automatic translation

  1. Connect a service. In WPEstate Translate > Automatic Translation, tick Automatic Translation, choose OpenAI, Google Translate, DeepL or Microsoft Azure in Translation Engine, paste the API key and click Save Settings. Details: Automatic translation with OpenAI, Google, DeepL or Azure.
  2. One item: create the translation as above and click Auto translate in Português in the same box. Afterwards the button reads Redo the translation.
  3. Many items: under Select Post Type for Translation, choose the language, set Translate for the content types you want and click Start translation. Pages go last.

Auto translate button on a translated property

Automatic Translation settings and bulk translation in WPEstate Translate

Read every machine translation before you publish it.

Translate Categories, Cities and Features

Translate property categories, actions, cities, areas, statuses and features. Watch Video on Youtube
  1. Open WPEstate Translate > Taxonomy Translation. Keep Translatable for the taxonomies you want in several languages. Tick Automatically duplicate missing translations to let the plugin create the missing terms. Click Save Settings.
  2. Open the term list, for example Properties > Categories.
  3. Click Add br in the Language column, type the translated name and click Update.

Taxonomy Translation settings for WPResidence

Property Categories list with the Language column

Translate the terms first, then the properties. A translated property takes the translated terms, and a term without a translation stays off the translated property unless automatic duplication is on.

Translate Menus

Set up the language switcher, synchronize menus and assign menus per language. Watch Video on Youtube
  1. Translate the pages first, so the menu has pages to link to.
  2. Go to Appearance > Menus and create a new menu. Name it, for example Main Menu PT, and pick its language in the dropdown next to the name.
  3. Tick the locations (Primary Menu, Mobile Menu, Footer Menu and so on) and click Create Menu. The menu fills those locations only for its language.
  4. Fill it with Menu Synchronization. In WPEstate Translate > Menu Synchronization, choose the default menu in Source Language Menu and the new menu in Translated Menus, then click Menu synchronization. Links go to the translated pages. For pages without a translation, add a Fallback link. Items can also be added by hand.

New menu with the language dropdown and menu locations

Menu Synchronization in WPEstate Translate

Custom Field Rules

WPEstate Translate > Custom Field Rules sets what each field does when a translation is created. WPResidence ships with the rules ready.

Rule Result
Translate Each language keeps its own value
Copy Same value as the original, updated with it
Copy Once Copied at creation, then edited per language
Ignore Not touched

Property fields set to Translate: state, country, status, label, the texts before and after the price and the second price, owner notes, and the header title and subtitle over the image or video. Everything else (price, size, rooms, bedrooms, bathrooms, address, map position, agent, gallery, video, virtual tour, floor plans, energy class) is Copy. Agents, agencies and developers have their own groups on the same screen.

To change a rule, open a group such as Property Fields > Translate and pick another rule next to the field. It saves right away and applies to translations created or refreshed after that.

Custom Field Rules with the Property Fields Translate group open

Translate Theme and Plugin Texts

Translate theme and plugin strings automatically, then check the result. Watch Video on Youtube

Buttons, labels, search forms, the dashboard and emails are theme and plugin texts. Two tools translate them and work together:

Tool Use it for
.po files, edited with Loco Translate The default language, and full translation files for other languages, for example pt_BR.po in the child theme and wpresidence-core-pt_BR.po for WPResidence Core. See How to translate WPResidence.
WPEstate Translate > Theme & Plugins Strings The other languages: check what the .po files already hold, add what is missing, change any text

The page loads the .po file of the language in the address. A text saved in Theme & Plugins Strings replaces the same text from the .po file. Texts left empty there keep the .po translation.

  1. Open WPEstate Translate > Theme & Plugins Strings. The box Where are translation files loaded from? lists the .po files in use.
  2. Click Scan for translations. Each language gets a column, already filled with the translations from your .po files.
  3. Find the text with Search and Domain (for example Theme: Wpresidence), then click Filter.
  4. Type the translation. It saves when you click outside the box and the label below changes to Saved. The default language column is read only.
  5. Click Generate translation files. The site shows the new texts after this step.

To let a service fill a whole domain, choose the domain and the language under Automatic translate strings and click Automatic Translate.

Theme and Plugins Strings screen in WPResidence

Theme Options Texts

Some labels are typed in Theme Options, for example Theme Options > Property Page > Listings Labels. The Theme Options field holds the default language. For the other languages, translate the label in Theme & Plugins Strings, domain wpresidence_admin, and click Generate translation files.

Save Theme Options with Content language set to the default language. In any other language the changes are not saved, so a translation never replaces your default text.

Property, Agent, Agency and Developer URL Names

Each property, agent, agency and developer page has a name in its address, for example example.com/properties/sea-view-villa/. Every language can use its own name.

  1. Default language: go to Theme Options > General > Property, Agent, Agency, Developer Links Names, change the names and click Save Changes.
    Property, Agent, Agency, Developer Links Names in WPResidence Theme Options
  2. Other languages: go to WPEstate Translate > Languages and fill Properties URL, Agents URL, Agency URL and Developer URL in the row of that language. With imoveis for Portuguese, a property opens at example.com/br/imoveis/sea-view-villa/. An empty field keeps the default name. Click Save languages.
  3. Save the permalinks: go to Settings > Permalinks, keep Post name and click Save Changes. Do it after each change of a URL name.
    Settings Permalinks with Post name selected

Category, city, area and state names in the address stay the same in every language.

Add the Language Switcher

Header type How to add the switcher
Theme header WPEstate Translate > Settings > Menu Language Dropdown: for each menu location choose Before menu items or After menu items and click Save Settings. Style it in Theme Options > Header > Language Switcher.
Elementor header or footer made in WPResidence Studio Open the template with Elementor and add the Language Switcher widget. A Navigation Menu widget also shows the dropdown when its menu sits in a location that has it turned on. Style the switcher from the widget settings.
Sidebar or footer widget area Appearance > Widgets, widget WPResidence Language Switcher

Menu Language Dropdown in WPEstate Translate Settings

Language Switcher and Navigation Menu widgets in the Elementor panel

More: The WPResidence Language Switcher widget and Menu translation and language-specific menu locations.

Translate WPResidence Studio Templates

Translate Elementor pages, WPResidence Studio templates and WPResidence widgets. Watch Video on Youtube

Headers, footers, mega menus and the property, agent, agency and developer templates made in Studio each need a translation.

  1. Go to Studio Templates. The Language column shows what is translated.
  2. Click Add br, or open the template and click Add Português translation in the Automatic Translation box.
  3. The copy opens as a draft with the same design, template type and display location, so it shows on the pages of its language.
  4. Click Edit with Elementor and change the texts in each widget, or click Auto translate in Português if a service is connected.
  5. Publish, then repeat for each template and language.

Studio Templates list with the Language column

Studio header template with Edit with Elementor and the Add translation links

A Text Is Still Not Translated

  1. Update WPEstate Translate if it is older than 1.0.9.
  2. Find where the text lives. Page content, Elementor widgets and Studio templates are changed on their translated copy. Theme Options labels and theme texts are changed in Theme & Plugins Strings.
  3. Default language: fix the text in the .po file with Loco Translate, or in its Theme Options field.
  4. Other language: open Theme & Plugins Strings, search the text, type the translation and click Generate translation files. If the text is not listed, click Scan for translations first.
  5. Clear the cache: WPResidence cache, caching plugin, server, CDN and browser.
Translations & Languages

Related Articles

  • How to Translate WPResidence Into Another Language
  • How to Translate Measurement Correctly
  • Rename theme words with Loco Translate Plugin
  • What Details are translated from Theme Options
MLSImportWordPress IDX Plugin for MLS ListingsImport MLS listings into your WordPress website, customize your property pages, and keep your inventory updated.Start free 30-day trial →

Help Categories

  • 51 Getting Started
  • 72 Installation & Setup
  • 243 Installation FAQ
  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 39Elementor Shortcodes Built-In
  • 56FAQ
  • 15Footer
  • 37Header
  • 2IDX & MLSImport
  • 23Maps & Location Settings
  • 21Multi-Language - Third Party Plugins
  • 7Other Third party Plugins
  • 21Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 37Property Pages & Layouts
  • 32Search & Filtering
  • 162Technical how to | Custom Code
  • 8Technical: Actions and filters
  • 7Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 50WPEstate Translate Plugin
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 9WPResidence Elementor Studio

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API