Skip Navigation
June 22, 2021

FacetWP allows you to add advanced filtering to listings on your website. In this tutorial, we walk you through the process of creating multilingual filters using WPML.


Getting Started

Start by installing and activating the following plugins:

If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through different translation options you can use.

We recommend using WPML’s Advanced Translation Editor for an effortless translation experience. To enable it go to WPMLSettings and under the How to translate posts and pages section select Use WPML’s Advanced Translation Editor.

Enabling the Advanced Translation Editor

Translating Custom Listing Pages

FacetWP allows you to create custom listing templates via its layout builder. You can add the template shortcode to any page to display the custom listing. 

In our example, we created a custom product page and added the template shortcode to it. You can create a template to list posts, pages, or custom post types.

The custom shop page

To translate this page, follow the steps below:

  1. Edit the page. In the Language box, click the plus icon corresponding to the language you want to translate your page into. This takes you to the Advanced Translation Editor (ATE) screen. 
Clicking the plus icon to translate the page
  1. Click the Translate automatically button to load the machine translation. Review the translation to ensure it’s human-readable and click the green checkmark to confirm each sentence. Finally, click the Complete button to publish the page translation.

WPML will automatically copy the necessary shortcode to the other language and display the translated content.

Translating the page content

Multilingual Filters

With FacetWP, you can create custom filters (facets) and add them to a listing page. In our example, we created a product category filter and added it to the custom shop page.

Product categories filter

To translate the filter, you need to translate the product categories. Check our detailed guide to know more about translating post categories and custom taxonomies.

Depending on the type of filter, you might also need to translate the custom fields that appear in it.

Here is the translated filter on the front-end:

Product categories filter on the secondary language page

Translating Other Texts

Besides posts, pages, and custom post types contents, WPML allows you to translate texts in admin screens, widgets titles, and more from the String Translation screen.  

Known Issues

There are no known compatibility issues between this plugin and WPML.

Getting Help from Our Support

Having difficulties using FacetWP on your WPML-powered site? Visit our support forum