Sitewide Ramadan Sale!

Up To
30%

Savings

Ending in:

Wpmet Symbol
Day
Hou
Min
Sec

Multi-Language Templates with Polylang

ShopEngine is an advanced WooCommerce plugin with the most options to build a WooCommerce site with the highest flexibility including multilingual support.

ShopEngine integrates with Polylang to let you create multilingual WooCommerce stores. Amazingly, you can create different templates for different languages, each with unique styles.

Read this documentation to learn how ShopEngine works with Polylang for WooCommerce multilingual stores.

Required Plugins: #

You need to have the following plugin installed on your WordPress site.

Besides, you will obviously need ShopEngine lite and ShopEngine Pro plugins installed.

Once installed, you need to set up polylang on your website. On the setup wizard, you can add languages. Polylang comes supports over languages by default.

Translate ShopEngine strings with Polylang #

After setting up Polylang, you can translate text strings of ShopEngine plugins. To translate ShopEngine Plugin strings, 

  1. Navigate to Languages > String Translations from your WordPress dashboard.
  2. There you can see a list of strings. You can translate each strings individually.
  3. Click on the Save Changes button to finalize the string translation.

In order to let the ShopEngine work properly with Polylang, go to Languages > Settings > Custom post types and Taxonomies.
Under Custom post types, uncheck Builder Templates and click on the Save Changes button.

Create a multi-language template for WooCommerce pages #

Before creating a multi-language template, you need to translate some pages of your website to the same language that you will be creating the template.

With ShopEngine, you can create multilingual templates for WooCommerce pages. 

You have to create templates for each language. To create a template for the primary language (English in this case):

  1. Navigate to ShopEngine > Builder Templates from WordPress dashboard.
  2. Click on the Add New button on the top left corner of the screen.

On the Template Settings popup,

  1. Enter a Name for the template.
  2. Select the page Type for the template.
  3. Set the Language to your website’s primary language (English).
  4. Turn on the Active mode.
  5. Choose a Sample Design or you can create a design with Elementor.
  6. Click on Save Changes.

Similarly, create another template for another language (French). Keep the page type same as the previous template.

Create a Menu with language switcher #

To switch the language from the front end, you need to create a menu with language switcher option. To create a menu for multi-language templates:

  1. Navigate to Appearance > Menus from your WordPress dashboard.
  2. Expand the Screen Options from the top of the screen.
  3. Select the Language switcher under Screen elements.

After that, close the Screen Options, and move to the “Edit Menu” section to create a menu.

  1. Under Menu structure, enter a Menu Name.
  2. Under Menu Settings > Display Location, select Header English, Header Français.
  3. Click on the Create Menu.
  1. After that, under the Add menu items and expand Language Switcher.
  2. Select Languages and click on Add to Menu button.
  3. Under the Menu Structure, expand Language and select Display language names.

Finally, you have created a multi-language page for your WooCommerce website. Here is how it looks in the front end.

What are your feelings
Updated on December 11, 2022