Thrive Knowledge Base

How to translate a Thrive plugin

Here is a guide for you on how to translate your Thrive plugin using Poedit. In this example, you will see how to translate the Thrive Leads plugin in German, but the same principle can be applied to all our plugins and all other available languages.

1) Download and install the Poedit editor

You can find the editor here. For now, all you need to do is download the version suitable for your setup (Windows, OS, etc.) and install the software.

2) Open the specific file and translate the desired phrases / words

After you have downloaded and installed your Thrive plugin, Thrive Leads in this case, you can find the files needed to translate, by following this path:

The name of the file found here is constructed by following these rules:


Where "plugin-identifier" can have the following values:

  • cw for the Thrive Clever Widgets plugin;
  • cb for the Thrive Content Builder plugin;
  • leads for the Thrive Leads plugin.

Open the thrive-{plugin-identifier}.po file with Poedit and click the "Fix language" button or go to Catalog >> Properties:

In the Catalog Properties you can choose the desired language in which you wish to translate your theme in:

Now, you can begin translating phrases / words:

After you have translated all the phrases needed, make sure to save the catalog by clicking the "Save" button. 

3) Rename and move the translated files

Once you have saved the catalog, you will end up with two files. One that has a .po extension and one with .mo. 

You will have to rename the files, from having this name:


to this:

​thrive-{plugin-identifier}-{local language}.po

Local language is the WordPress locale code for the translated language. You can find a list of them on the WordPress Codex.

In our case, for German, the new file names will be this:


Caution: You can end step 3 here and jump to step 4 and the translation will work. However we must warn you that if you do this, when you will upgrade the plugin, the translation will be lost.

Once you have renamed the files, you need to move them to this path:


If you haven't translated any of our products yet, you will have to create that "thrive" folder.

4) Switch to the new language in WordPress

Once you have given the files the correct file name and moved them to the required folder, you can change the themes language.

​You need to go into your WordPress dashboard to Settings >> General and switch your websites language to the one you want to translate into:​

Save the changes and once you preview your website, the translated phrases will be visible:

Important notes:

  • If some words are not translated, check the thrive-{plugin-identifier}.po file to make sure that the words are there, if not, please let us know;
  • ​​Each time new words are added to the thrive-{plugin-identifier}.po file you will have to recreate you own file and generate the .mo file;
  • If you have a caching plugin, after you add new translations, please clear the cache.

5) Update the translated files

When we add new words in the plugin and you will want to have them translated also, you will have to update your current .po file. To do this you will either edit it manually or use Poedit. The second choice is the easiest and recommended.

Open your current .po file that already has some translations. From the menu go to Catalog and select “Update from POT file...”.​

From there you will select our new .po file from (Thrive Leads example):

that has the new words. Poedit will identify the new words and only add those. Translate those new words and save the file.

​For a video example of how to update the translated files (in a theme), click here.