Create A Multi-Lingual WordPress Website Using Hongo And WPML

ThemeZaa collaborates directly with the WPML team to ensure that Hongo and the WPML plugin are 100% compatible.

WPML makes it easy to translate your whole site. You can decide not only how to translate your site’s content, but also who will translate it.

You can automatically translate your entire site using the Translate Everything mode. With this setting, WPML will automatically translate your content as you publish or update it. You can also review translations before they’re published to ensure that they are error-free.

WPML’s Translate Some mode allows you to choose which content to translate. This also gives you the freedom to decide who will translate your content. You can translate your content yourself, employ individual translators, or connect with a professional translation service.

Requirements

To get started with Hongo and WPML, install and activate the following:

Step 1. The newest version of Hongo.

Step 2. The most recent version of the WPML core plugin and the WPML String Translation add-on.

Table of Contents

  • Getting started
  • Translating texts from theme or plugins
  • Translating your pages, posts and custom posts
  • Translating Post Categories and Custom Taxonomies
  • Translating Menus
  • Translating widgets

Getting Started

Start by installing and activating your Hongo theme and plugins. If you have any questions or require assistance, click here.

When you activate WPML, you will need to go through its setup wizard. WPML’s Getting Started Guide explains the steps you need to follow to configure your multilingual website.

Follow the wizard to select the languages of your site, your URL format, and to register WPML.

WPML’s Setup Wizard

The WPML Setup Wizard also lets you decide between two translation modes: Translate Everything or Translate Some. You can later change this from the Multilingual Content Setup tab in WPML → Settings.

Choosing a translation mode in the WPML Setup Wizard

Translating Texts From Theme or Plugins

All themes and plugins produced by ThemeZaa are ready for translation.

To translate global elements of the theme and plugins, navigate to WPML → Theme and plugins localization. From here, you can scan selected themes and plugins for strings. They will then be added to the String Translation table.

Scanning for strings in Theme and plugins localization

Now, go to WPML → String Translation and use the filter at the top of the page to find the strings you’d like to translate. Click the plus icon to add translations or the pencil icon to edit them.

Filtering and translating strings

Translating Your Pages, Posts and Custom Posts

You can send your pages, posts, and post types for translation in bulk from the Translation Management Dashboard. Alternatively, you can go to your list of pages or posts to translate your content individually. Click the plus icon to translate your content or the pencil icon to edit existing translations.

Translating pages individually

If you want to translate custom post types, you will first need to make them translatable.

Translating Post Categories and Custom Taxonomies

There are several ways to translate your post categories and custom taxonomies. In the example below, you can see how to translate post categories from a central menu.

1. Navigate to WPML → Taxonomy Translation. Using the drop-down menu, select the taxonomy term you want to translate.

2. Click on the plus icon to add translations. Repeat this step for all of your taxonomies and slugs.

WPML Taxonomy Translation

Translating Menus

WPML gives you the option of translating your menus automatically, manually, or syncing them. For more information, check out WPML’s page on translating menus.

Using WPML to translate menus

Translating Widgets

With WPML, you can easily translate your widgets using WPML’s String Translation. For this, you will need to have the WPML String Translation add-on installed.

You may need to register your widgets as translatable for them to be added to the String Translation table.

Once you have added your widget strings to the String Translation page, you can translate them by going to WPML → String Translation. Use the filter at the top of the page to choose which strings to display.

Choosing which strings to make translatable

You can learn more in WPML’s guide on translating widgets.

SCROLL UP