Skip Navigation
Updated
November 22, 2021

Woodmart’s integration with WPML allows you to easily build fully functional multilingual eCommerce websites. Learn how to translate the different elements of a site you built with WoodMart and WPML. 

On This Page

Getting Started

Start by installing and activating the following plugins:

  • WoodMart 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 all the translation options you can use.

Translating Pages

WoodMart theme is bundled with Elementor and WPBakery Page Builder and offers prebuilt demos for both. WPML is fully compatible with both these page builders along with the WordPress Block Editor (Gutenberg).

The quickest and easiest way to translate your content is to use WPML’s Translate Everything mode. It automatically translates pages, posts, custom post types, custom fields, taxonomies, WooCommerce products, and more as you add and edit content.

WPML also allows you to translate content yourself, assign the translation jobs to one of your users assigned as translators, or send the content to be translated by a professional translation service.

If you’re not using Translate Everything, you can manage the translation of your site by 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 and select your preferred translation editor.

Sending content for translation

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

Translating the page by clicking the plus icon in the WPML Language box

You’re taken to the Advanced Translation Editor page. Click the Translate automatically button to get an instant translation. Review the translation to make sure that it is human-readable then click the green checkmark button to save it. Finally, click on the Complete button to publish the translated page.

Adding automatic translation and publishing the translated page

Naturally, you can translate posts and project items in a similar fashion.

Translating Headers

WoodMart header builder allows you to add different elements to the header such as menus, HTML/Text, search fields, and categories. Translating different groups of elements requires following different translation workflows. 

WoodMart default language header

Translating Header Text/HTML, Information box, and Button Elements

  1. Go to WPMLString Translation. From the In domain dropdown menu, choose the header text domain. In our example, the header text domain name is “admin_texts_whb_header_528910”.
Selecting the header text domain on the String Translation screen

You will notice that when you select this domain, only the Text/HTML, information box, and button elements are listed. Other header elements are listed under different domains. We will cover their translation workflow later in this guide.

Please note that the number part in your header text domain may be different as it represents the header ID on your website. You can find your header ID by navigating to the header editing page and looking at the URL. 

Finding the header ID
  1. To avoid breaking the element structure that you are translating, we recommend using WPML’s Advanced Translation Editor (ATE) as it allows visual translation without having to edit HTML.

Select the header strings that you want to translate. Then, under the Translate selected strings section, choose the language(s) that you want to translate your elements into and click on the Add to translation basket button.

Adding header strings to the translation basket
  1. Assign the translation job to yourself or a local translator by navigating to WPMLTranslation Management. Click the Translation Basket tab then click the Send all items for translation button.
Sending header strings for translation
  1. Go to WPMLTranslations and click the Take and translate button. This takes you to the Advanced Translation Editor screen.
Navigating to the ATE screen to translate the strings
  1. Translate the strings then click on the Complete button to publish the translation.
Translating the strings using ATE

With that, you learned how to translate the Text/HTML, Information box, and Button elements.

Translating Header Menus

You can easily add standard WordPress menus to your header. Visit our dedicated page to learn how to translate menus.

Translating Other Header Elements

You can translate other header element texts such as the search field placeholder text and “My Account” by following the steps below:

  1. Navigate to WPMLString Translation. In the search for field, type in the header text that you want to translate and click the Search button.
  2. Click on the plus icon. Then, add the translation.
Translating other header element texts using the String Translation screen

This is how the translated header looks like on the front-end:

Secondary language header on the front-end

Translating HTML Blocks

With the WoodMart theme, you can create custom HTML blocks that you can embed in different places in your website such as headers and footers, using shortcodes or widgets. 

Translating HTML Blocks is very similar to translating posts and pages. Navigate to HTML BlocksAll Items, then click on the plus icon under the language you want to translate your HTML block into. This takes you to the Advanced Translation Editor screen where you can translate the HTML block text.

Translating HTML Blocks

Translating Sliders

WoodMart comes with its own custom slider. Translating slides is similar to translating posts and pages. To translate WoodMart slides follow the steps below:

  1. Go to WPML Settings and scroll to the Post Types Translation section. There, make sure that the WoodMart’s Slides post type is set to be translatable.
  2. Go to SlidesAll Items and click the Edit link for the slide you want to translate.
Navigating to the slide editing page
  1. Click on the plus icon corresponding to the language you want to translate your slide into. This takes you to the Advanced Translation Editor screen where you can translate the slide text.
Clicking the plus icon to translate the slide

WoodMart theme is also bundled with the Revolution Slider plugin. Check out our detailed guide that explains the process of translating Revolution Slider slides.

Translating Categories and Tags 

You can translate categories and tags assigned to a specific post or portfolio pages while translating them using the WPML translation editor screen.

Furthermore, you can translate categories and tags on the WPMLTaxonomy Translation page. In the example below, we walk you through the process of translating project categories. You can follow the same steps to translate post categories and tags.

  1. Select the Project Categories from the drop-down menu and a list of categories will appear.
  2. Click the plus icon for translating a category of the respective language.
Navigating to the Taxonomy translation screen
  1. Fill in the translation and click the Save button.
Translating taxonomies

Translating Texts from WoodMart Theme, Plugins, and Other Places

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.

Translating WooComerce Elements

To translate everything that WooCommerce offers, download our WooCommerce Multilingual plugin (WCML) from your WPML account. 

Visit our dedicated WCML documentation to learn how to set up a multilingual store and translate your products, categories, variations, shipping classes, and more.

Translating Menus

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

Getting Help

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