Archives

Installation & Setup

Follow the steps below to create your multilingual WordPress real estate website using Estatik and Polylang plugins. To install and setup Polylang plugin, please go to Plugins >> Add new and enter Polylang in search field.
You'll find Polylang first in your search results. Click Install and then Activate it.


After you'll be offered to run Polylang Setup Wizard, we recommend to run it and follow its steps.
Step 1. Add languages of your multilingual website and click Continue:


Step 2. We recommend to disable translation of Media. That's why we switched this option off and continued:


Step 3. Define the default language of your website. As ours is English, we selected English language there and continued:


So we can see all our languages there with English as the main one.

polylang_setup_wizard
You will get the message that your home page is already in your language and that you're ready to work on your content!
P.S. If you accidentally skipped this step, you can always find Setup Wizard in Polylang Menu.

POSTED IN BLOG July 9, 2021 0 REPLY
Continue reading

Menus Setup

If you didn't setup Menus using Polylang Setup Wizard, you may notice that there are no menus on your front-end of the website if Polylang plugin is enabled >>

menus_empty_realtor

Now let's fix it! We go to Menus and assign to each of our menus appropriate pages. For example, we need to assign Header Menu English/Spanish/French to Header menu and so on:
 
polylang_menus_setup
If you did everything properly, then you'll get menus displayed on front-end.

POSTED IN BLOG July 9, 2021 0 REPLY
Continue reading

Language Widget Setup

Now we can setup a language switcher for our website. The best place for it is your top menu. We go to Appearance >> Menus and find there Language Switcher:

language_switcher_tomenu_assign
You can also select type of a switcher: flags, language names, drop-down, others. We selected flags and now can see them on out header menu:
flags_polylang

POSTED IN BLOG July 9, 2021 0 REPLY
Continue reading

Pages Translation

So we set up languages, widget and now we need to translate the content itself into other languages. To make your website fully multilingual you need to add every page in these languages. If you go to Pages, you'll see that you have ++ on other languages except your default one - English. You need to click + and add the same content but in a different language.
polylang_pages
Let's create the same page Our properties but in Spanish. We click on + in the column with Spanish flag and translate everything into Spanish. In our case we need to enter title in Spanish:

how_to_translate_into_spanish_polylang
Do the same work with other pages and languages.
If you did everything properly, you will see additional pages in other languages:

Remember, every page that you have in English should be translated into other languages as well in the same way, manually.

POSTED IN BLOG July 12, 2021 0 REPLY
Continue reading

How to translate properties

Properties like Pages and Posts should be translated as well, manually, one by one. But before that, you must enable Properties custom post type and Custom taxonomies in Polylang Settings. Go to Languages in your WordPress menu and click Settings:
 

 
First click on Custom post custom types and Taxonomies and put a checkmark exactly like it's displayed on a screenshot:

 
Then click on Synchronization and do the same according to our screenshot:

After you are done, now you can start translating properties into other languages. Go to Estatik -> Properties and click on Edit link. In the Languages area on the right, click on + icon and translate property into selected language:
 

polylang_spanish_translated

 

 
Do the same with other languages you have. You can check if all translations are added getting back to Properties and checking if you can see the same property in all 3 languages:
 

 
However taxonomy fields like - Status, Type, Category, etc are empty. The next paragraph will cover how you need to translate them as well.

POSTED IN BLOG July 12, 2021 0 REPLY
Continue reading

How to translate taxonomies

You can translate categories, types, statuses, other taxonomies available in Estatik plugin via Polylang using the links:
https://yourdomain.net/wp-admin/edit-tags.php?taxonomy=es_type
https://yourdomain.net/wp-admin/edit-tags.php?taxonomy=es_category
https://yourdomain.net/wp-admin/edit-tags.php?taxonomy=es_status
Let us show how you can do that using types taxonomy. Click on Edit under selected Type and then on + to add translation in other language:

Add translation and press Add new tag button.

Work on the same taxonomies the same way. After finished, you should have all taxonomies translated:

 
Now getting back to properties, you can pick the translated types, categories and statuses like it is displayed below:

Just start typing the word and WordPress will auto-suggest the available values.

POSTED IN BLOG July 12, 2021 0 REPLY
Continue reading

How to translate fields

First off, we recommend to install and activate Loco Translate. Go to Plugins >> Add new and enter Loco Translate in Search field. Install and Activate it:
 

 
Now you have Loco Translate plugin in your WordPress admin area. Select Plugins menu item and find Estatik plugin. In our case we have Estatik PRO installed:

When you click on Estatik PRO, you can see the list of properties that our plugin is translated into. Choose the language you need and click Edit:

All default fields that were available in the plugin instantly are included in language files and already translated. But custom fields that you add via Fields Builder should be added first to language files and then to be translated.
Let's check how we can translate these custom fields:

custom_fields

We need to go back to Loco Translate - Plugins - Estatik PRO and Edit Template:
 

 
Add your new custom fields labels there, one by one:

Don't forget to Save the template:

If you return to Plugins -> Estatik PRO -> Spanish -> Edit -> click on Sync button and you will find your new custom fields as untranslated:

loco_after_sync_estatik

Add your translation and Save the changes. You can add any custom fields and sections labels like that. Now we have all of them translated into Spanish:

Everything is translated except fields values! Their translations are added the same way we did with the fields. Edit language file template and add new values, add translation and save. Voila! We have them in Spanish as well:

POSTED IN BLOG July 12, 2021 0 REPLY
Continue reading

Property boxes

With our Estatik ver. 3.11.0 and higher you display your custom fields into property boxes in both vertical and horizontal layouts. You can find a new settings tab named Property box in plugin settings:

Just hit Add new and select any field from a drop-down list. To add icon just upload icons to your Media library first and then enter the link to the icon in the field Icon URL.

POSTED IN BLOG June 10, 2021 0 REPLY
Continue reading