Get a fast, conversion-focused WooCommerce theme in 2024. Switch to Shoptimizer.

Home Documentation Shoptimizer Getting Started Weglot (Multilingual Plugin) Setup

Weglot (Multilingual Plugin) Setup

This is a two-step process. First, we need to:

Step 1: Install the appropriate language pack for WooCommerce

So, say you want to add French as a second language. You’ll first need to add WooCommerce’s French language pack. This includes all the text strings used within WooCommerce – which is the majority – there are very few within the theme.

WooCommerce’s guide is here: https://docs.woocommerce.com/document/woocommerce-localization/

It involves downloading a zip file of the language and placing it into a directory. But I noticed a trick to this. Your language files should be put into this directory:

/wp-content/languages/plugins

And not:

/wp-content/languages/woocommerce

You’ll probably have to FTP them up into this directory – and create it if it doesn’t already exist.

So, with our French example you should have these 2 files in this folder structure.

/wp-content/languages/plugins/woocommerce-fr_FR.mo
/wp-content/languages/plugins/woocommerce-fr_FR.po

Step 2: Install the Weglot Translate Plugin

We suggest the excellent Weglot Translate plugin to do this. Their installation guide for WordPress goes through the steps on setting up the plugin.

Once installed and set up, if you want to display the language switcher in the same fashion as our demo, do the following. Go to Weglot and click on the Language button tab.

Setting up the language switcher

We’re using some Override CSS to style it differently than the default. You can paste the following into that box if you wish.

Success!

The discount has been applied. You will see it when you checkout.

There has been a problem

Unfortunately this discount cannot be applied to your cart.

$50
Off

Do you want a whopping $50 off Shoptimizer for WooCommerce?

Click the button below to get Shoptimizer for only $49. (Regular price: $99).
This is a special launch offer for today only.
Get it before it is gone!