Weglot: a multilingual website in 15 minutes!

Updated on 21/02/2019 | Published on 02/10/2018 | 13 comments

Although the Weglot solution can be implemented on any WordPress theme, I can confirm that this plugin is compatible with the Divi theme. Have you noticed the appearance of the two little French-English flags just a bit above 👆 below the title of my articles? A few days ago, I decided to take the plunge and translate my blog AstucesDivi so that it's available in French AND English! It only took me 15 minutes watch in hand. Yes, it's possible with Weglot.

In this article, I explain in detail the procedure to get a multilingual site quickly. Here is the program:

 

weglot pour Divi

Announcement: this article contains affiliate links that you will easily recognize. The classic links are in purple and the sponsored links are in pink.

 

How to get a multilingual WordPress with Weglot?

The procedure is so easy that it is disconcerting! First of all, you should know that Weglot is a solution that can be implemented in a WordPress but also in any other type of CMS/framework like ShopifyJimdo, Wix, BigCommerce, Drupal, Symfony, Laravel...

Here, we'll just use WordPress.

To use Weglot in your WordPress site or blog, you will need to install the Weglot extension and create an account on the official website.

This being done, here are some configuration options available to you from the Weglot tab in the administration of your site:

 

1 - Main configuration

weglot - configuration

The first action you will have to do is to link the plugin with your newly created Weglot account. To do so, you will just have to go to the Weglot tab and enter your API key. You can get it by clicking on the link available next to the input field or you can find it in your Weglot account in the Project Settings tab.

Next, you will need to set the original language of your site. On the screenshot above I have chosen French.

Finally, you can choose the destination language(s). In my case, I chose English on the screenshot.

 

2 - Design of the language button

weglot - design drapeaux

This configuration is optional but this is where you can :

  • choose to display your languages as a drop-down list,
  • choose to display the flags or only the name of the language as text,
  • define the design of your flags: rectangles or rounds,
  • Define if you want to display the whole language name or only the country code (French or FR),
  • add CSS if needed.

 

3 - Position of the language button

weglot - position drapeaux

In this section, you can define the position of your language buttons. By default, when you activate the Weglot plugin, it automatically displays the language buttons in the lower right corner, in sticky. But you can decide otherwise:

  • you can make the flags appear in the main menu via the Appearance > Menutab
  • in the sidebar via the Appearance > Widgetstab
  • with a shortcode to implement it where you want
  • or even in the source code of a Divi file.

 

4 - Exclusion of translations

weglot - exclusions

In this section, you will be able to exclude entire pages or parts of pages so that they are not translated. You may want to do this either because you don't see any interest in it or because you want to save words (yes, the Weglot license is based on the number of words to be translated, we'll talk about it later in this article...).

In the screenshot above, you can notice that I excluded some entire pages by typing the end of my URLs. But I've also excluded all comments using a Divi ID. By entering #comment-wrap Weglot doesn't translate any comments for me, so I save hundreds or even thousands of words...

 

5 - Other options

weglot - options

In this last section, you will find 3 very interesting options such as allowing the user to be redirected in his language depending on the configuration of his browser and your available languages or the translation of your AMP pages.

 

How much does it cost?

And yes, let's get to the "money"part... Weglot is indeed "not cheap" and that was really the reason I was hesitating. Here's what you'll have to pay to get your WordPress multiline:

  • for a site of less than 2000 words : Weglot is free. Let's just say that I don't know many sites that are less than 2000 words. It could be a solution to translate the homepage for example and then study the impact in terms of traffic.
  • for a translation of 10.000 words: 9,90€ht per month or 99€ht per year.
  • for a translation of 50.000 words: 19,90€ht per month or 190€ht per year.
  • for a translation of 200.000 words: 49€ht per month or 490€ per year.
  • for a translation of 1.000.000 words: 199€ht per month or 1990€ per year.

To learn more about the plans proposed by Weglot, I give you go here.

You think it's expensive? A license WPML or Polylang - which are plugins that also allow you to translate your WordPress sites - will cost you about 100€ht per year (more or less depending on the plan).

However, these solutions are extremely time consuming and tedious to implement - it is said that time is money and Weglot will save you a lot of time.

I was able to test all 3 solutions and indeed, Weglot is the lightest, fastest and easiest...

Imagine how long it can take to translate a 50-page website, or worse, how much it would cost to outsource the translation to freelancers or specialized companies?

The strength of Weglot compared to other solutions is that you don't have to spend hours translating your content! No, Weglot takes care of that and it must be said that the translation is quite good. There are not many false notes, a few typos, of course, but you can correct them.

However, be careful, each added language doubles your translation quota. For example, on AstucesDivi, I only have one thirty or so articles published. So I chose the 50,000 wordplan...

Ouch, ouch, ouch! It's already reached, so I'll have to upgrade my plan soon. If I wanted to add two more languages in addition to English, I would have already reached 150,000 translated words. So you understand that it can go very, very fast!

 

Weglot and SEO...

That's another question you may have. Given that natural referencing is essential for a website, you may wonder if search engines will take into account the languages you will add with Weglot. The answer is YES, Weglot is compatible with Google's multilingualism guidelines.

Languages are added to the URL via a subfolder. For example, https://astucesdivi.com/ is in French - https://astucesdivi.com/in/ is in English.

Everything is well translated like the Meta Title or Meta Description tag that you enter in Yoast for example and that is used to appear in the search results.

By default, your URLs will remain in the original language of your site but will have a prefix such as https://mon-site.com/in/the-title-of-my-article-in-its-original-language/. If you wish to translate them, an insert at the bottom of your articles is provided for this purpose. You can manually modify the URL of your translated pages.

url

Read this article to better understand how Weglot manages your SEO.

 

How do I add multilingual flags below the Divi theme post titles?

To do this, you will need a child theme for Divi. Once you have it, the handling is very simple:

  1. Copy the file single.php present in the Divi theme (the parent theme).
  2. Edit this file with a text editor like SublimText par exemple puis ajoutez le code <strong><div id= »weglot_here »></div></strong> juste en dessous du <strong>titre entouré d’une balise H1</strong> comme vous pouvez le voir <strong>à la ligne 37 de la capture d’écran</strong> ci-dessous :single Divi
  3. Save and insert this copy in the child theme's folder (in the root). It will be taken into account instead of the single.php of the parent theme.
  4. Upload your child theme to the server and activate it instead of the Divi theme. If your child theme is already present and active, just add the single.php file to its root.
  5. Now your articles have the Weglot flags just below their title.

 

See what you can do with the Divi theme

 

What to do after installing Weglot?

All the above actions really took me 15 minutes: creation of the Weglot account + extension settings + modification of my single.php

However, this may not be enough. Here is what you could do after installing Weglot:

 

1 - Visit all the pages to be translated

This action will automate the translation and activate them. You will therefore have to review your entire site, just as a web surfer might do. You don't have to do anything else to activate the translations.

 

2 - Correcting typos

Once your site is translated, you can go to your Weglot account and make corrections if you find that some of the translations do not meet your expectations. The manipulation is quite simple, you'll see.

 

3 - Activate the follow-up of your statistics

Not all Weglot users think about it, but it is important to perform some actions in your Google Analytics account to be able to track the URLs visited in your translated languages. Here's the procedure:

  • Go to your Google Analytics account (you must have already created an account to link your website and track its statistics),
  • Go to the tab named "Administration" located at the bottom left,
  • Select your property if you have several,
  • Go to View > "+Create View Google analytics Weglot
  • Name your view, e.g. "English statistics", and set the time zone,
  • Click on "create a view". Google analytics Weglot
  • Then, still in "view", go to the Filter tab and click on "add a filter". Google analytics Weglot
  • Name your filter, for example "English version",
  • Filter type = "predefined filter" then choose :
  • "Include only"
  • "Traffic to subdirectories
  • "Containing"
  • Subdirectory: "/en/" (for English for example) Google analytics Weglot
  • End with "save".

Now you will be able to track the traffic of people who visit your foreign language URLs. You may wonder why you should do this when your statistics already show you the share of traffic coming from foreign countries?

It is important to differentiate this because some Internet users based in the USA or England for example are not necessarily English-speaking, they may simply be French-speaking and live abroad. This will not give you the real traffic of your site in another language. By creating a new view with a filter in Google Analytics, you will be able to separate the French-speaking traffic from the English-speaking traffic (or other languages used).

 

4 - Propose images for each language version

Even if Weglot is a magic solution, this plugin will not translate the images for you. It will translate the captions but not the content of the images, of course...

If you're in the habit of promoting your blog posts on social media and especially on Pinterest, you'll definitely want to consider offering multiple versions of your images for pinning. A Pinterest strategy will certainly be beneficial in making your articles available in your other languages. Of course, it won't take 15 minutes... and it's a lot of work you'll have to do.

 

In conclusion...

Considering to offer a website or a blog in several languages is not a decision to be taken lightly. As you can see, it will cost you money and/or time. For my part, I've thought it over and I'm waiting to see the benefits in terms of traffic, in the medium and long term, that my translated pages will bring me...

weglot multilingue

 

2,067 words

8

You should like it too:

Product Carousel pour Divi et WooCommerce

Product Carousel for Divi and WooCommerce

If you're looking for a way to scroll through your WooCommerce store's products in a stylish carousel, the "Product Carousel" extension can help. It's quick and easy to use, and the results live up to expectations.

Popups for Divi : un plugin gratuit très malin !

Popups for Divi: a smart free plugin!

Free plugins for Divi are pretty rare, but "Popups for Divi" is pretty effective and easy to use. This plugin converts any Divi section into a popup. I explain how to use it.

13 Commentaires

  1. Cj-envadrouille

    Comme d’habitude les articles de Lycia sont très clairs et ses tuto écrire faciles à suivre. Bravo

  2. Lycia

    Merci Christine ! Tu es adorable 😉

  3. Patrick RANSINAN

    Super Lycia, merci pour tout

  4. Lycia Diaz

    Merci à toi ! Dès que j’ai le temps, je vais mettre à jour cet article et je vais revenir avec quelques chiffres intéressants, étant donné que ça fait un moment maintenant que j’utilise Weglot… À présent, la partie en anglais représente presque 25% de mon trafic. Le pari est plutôt gagné 😉

  5. Maxime

    Bonjour Lycia, la solution Weglot à l’air vraiment intéressante VS concurrence. J’ai une question au niveau du coût. Mon site ne doit pas trop bouger en terme de contenu. Puis-je le traduire un mois et arrêter mon abonnement ? Ma version traduite sera alors toujours en ligne ou elle disparaitra à la fin de mon abonnement ?
    Merci

  6. Lycia Diaz

    Salut Maxime. Malheureusement une fois que tu arrêtes ton abonnement, tu perds tes traductions. Donc en gros, temps que tu payes, tu as un site multilingue. Il faut mesurer. Selon le nombre de mots de ton site ça coûte pas plus cher qu’un abonnement WPML ou Polylang. Par contre pour un blog comme le mien, ça douille un peu 😉

  7. Maxime

    Ok super merci pour ta réponse rapide. Pour WPML et Polylang , tu te ré-abonnes à l’année c’est bien ça ?
    Et en terme de référencement le best pour toi c’est Weglot ?

  8. Lycia Diaz

    Oui tu te réabonnes chaque année mais surtout c’est toi qui doit traduire. Tu dois traduire tes textes, tes menus et tes meta description de Yoast. Du coup, le référencent ne dépend pas vraiment de la solution. Weglot traduit tout en automatique et tu peux optimiser certaines phrases si tu les trouves mauvaises.

  9. Gaëlle

    Bonsoir, Merci pour cet article. Est-ce qu’il s’agit de traductions automatiques ou faites par des traducteurs humains ? Cordialement,

  10. Lycia Diaz

    Salut Gaëlle.
    Oui, il s’agit de traduction automatique mais tu peux faire des améliorations si tu en as besoin et tu les enregistres comme étant « vérifiée », ça se passe sur ton compte Weglot en ligne, c’est très facile.
    Sinon, tu fais comme moi : je laisse faire la machine hi hi hi ! Ça m’a pris 5 minutes l’autre jour pour ajouter l’Espagnol sur Astuces Divi, j’ai optimisé 2 ou 3 mots et le tour était joué, un vrai régal !

  11. Gaëlle

    Merci pour cette réponse et surtout pour la réactivité.
    Bonne soirée 🙂

  12. Gael

    Bonjour !
    ton article est vraiment très bien comme beaucoup d’autres d’ailleurs et aident vraiment à avancer !

    Concernant cet article justement, j’aurais une petite question pour ce qui est des vidéos :

    est-ce que tu sais déjà si on peut changer de nom de domaine directement avec Weglot pour passer d’un site français à un site italine ? Ex.: monsite.fr à monsite.it

    Et si il y a une video en français, par exemple sur la page d’accueil ou sur toute autre page du site en .fr, est-il possible que la vidéo soit automatiquement changée avec une vidéo en italien ??

    Merci à toi pour ton retour et pour tout ton travail !

    Cordialement

  13. Lycia Diaz

    Salut Gael, je ne voudrais pas dire de bêtises mais je pense que tu peux versionner tes vidéos. Ce dont je suis sure, c’est qu’on peut versionner les images depuis le Dashboard de Weglot, il suffit de saisir l’URL de l’image version anglaise pour remplacer la française donc logiquement, tu peux faire la même choses pour tes vidéos. Tout se passe dans ton compte Weglot et non dans WordPress, c’est la seule différence avec les plugin multilingues traditionnels.

Soumettre un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Je souhaite recevoir les news du blog Astuces Divi !

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.

Pin It on Pinterest

Shares
Share This