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.
- Getting Started
- Translating Pages
- Translating Headers
- Translating HTML Blocks
- Translating Sliders
- Translating Categories and Tags
- Translating Texts from WoodMart Theme, Plugins, and Other Places
- Translating WooCommerce Elements
- Translating Menus
- Known Issues
- Getting Help
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.
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 suggest you read the Getting Started Guide to learn all the ways you can translate your content.
You can also translate the page by clicking the plus icon in the language meta-box on the post or page editing screen.
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.
Naturally, you can translate posts and project items in a similar fashion.
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.
- Go to WPML → String 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”.
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.
- 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.
- Assign the translation job to yourself or a local translator by navigating to WPML → Translation Management. Click the Translation Basket tab then click the Send all items for translation button.
- Go to WPML → Translations and click the Take and translate button. This takes you to the Advanced Translation Editor screen.
- Translate the strings then click on the Complete button to publish the translation.
With that, you learned how to translate the Text/HTML, Information box, and Button elements.
You can easily add standard WordPress menus to your header. Visit our dedicated page to learn how to translate menus.
You can translate other header element texts such as the search field placeholder text and “My Account” by following the steps below:
- Navigate to WPML → String Translation. In the search for field, type in the header text that you want to translate and click the Search button. In this example, we are translating the search field placeholder text string.
- Click on the plus icon. Then, add the translation.
This is how the translated header looks like on the front-end:
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 Blocks → All 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.
WoodMart comes with its own custom slider. Translating slides is similar to translating posts and pages. To translate WoodMart slides follow the steps below:
- 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.
- Go to Slides → All Items and click to edit the slide you want to translate.
- 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.
WoodMart theme is also bundled with the Revolution Slider plugin. Check out our detailed guide that explains the process of translating Revolution Slider slides.
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 WPML → Taxonomy 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.
- Select the Project Categories from the drop-down menu and a list of categories will appear.
- Click the plus icon for translating a category of the respective language.
- Fill in the translation and click the Save button.
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.
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.
With WPML, you can easily synchronize your language menus. For more information, check out WPML’s guide on translating menus.
In case you need help translating your site built using WoodMart theme and WPML, visit WPML’s support forum.