Translate a WordPress plugin in your language

How to Translate a WordPress Plugin in Your Language


Are you hunting for a way to translate a WordPress plugin into your language?

By translating a WordPress plugin into a different language, you will make it available to a broader viewers. This permits consumers from distinctive countries to use the plugin in their indigenous languages.

In this post, we will demonstrate you how to effortlessly translate a WordPress plugin into your language.

Translate a WordPress plugin in your language

Why Translate WordPress Plugins?

By default, WordPress is accessible in lots of languages and can be utilised to very easily build a multilingual web-site using a plugin.

Equally, most of the prime WordPress plugins are also translation-completely ready. All you have to do is talk to the plugin author if you can enable by contributing translations in other languages.

By translating the plugin, you can boost its attain and develop a greater consumer foundation. This can guide to far more installs, feed-back, and publicity for the plugin.

It can also aid you set up by yourself in the WordPress group and offer you with new networking prospects with other builders, translators, and corporations in the industry.

You can even increase the translation to your portfolio and demonstrate your abilities and contributions to the WordPress neighborhood.

That becoming claimed, let us get a search at how to very easily translate WordPress plugins in your language. We will cover a handful of distinct approaches in this put up, and you can use the quick inbound links under to jump to the technique you want to use:

Strategy 1: Translate a WordPress Plugin Into Your Language for Every person

If you want to translate a WordPress plugin in a way that will help other people today use the plugin in their languages, then this process is for you.

WordPress.org at present hosts a world wide web-based translation device that lets everyone to lead translations for plugins inside the WordPress repository.

Very first, you will have to have to check out a plugin’s web site on the WordPress.org web site. After you are there, just change to the ‘Development’ tab at the leading.

In this article, you will see a link asking you to help translate the plugin into your language.

You can simply just simply click on it to commence contributing to the plugin translation.

Translate a WordPress plugin

Even so, if the website link is not offered, then you can take a look at the Translating WordPress web page.

At the time there, you will see a listing of languages on the screen. From right here, come across your language and only click on the ‘Contribute Translation’ button under it.

Choose a language for translation

This will just take you to a new monitor, exactly where you want to swap to the ‘Plugins’ tab.

Right after that, lookup for the plugin you want to translate making use of the search industry and then simply click the ‘Translate Project’ button beneath it.

Click Translate Project button

This will direct you to the plugin translation site, where by you need to decide on the ‘Stable (newest release)’ sub-undertaking from the remaining column.

If you want to translate the plugin’s development or readme data files, then you can opt for these sub-tasks from the listing as an alternative.

Choose stable latest release option

Eventually, you will be taken to a new website page wherever you will see the authentic strings in just one column and the translations in one more.

Maintain in mind that you will need to be logged in to your WordPress.org account to lead translations.

From listed here, just simply click on the ‘Details’ hyperlink in the ideal column to open up up the string you want to translate.

Translate plugin

After you have carried out that, a text subject will open up in which you can add a translation for the first string.

Once you are performed, basically click the ‘Save’ button to post your translations.

Approach 2: Translate a WordPress Plugin for Your Own Web page

If you only want to translate a WordPress plugin for your personal site, then this system is for you.

To start with, you will require to set up and activate the Loco Translate plugin. For detailed guidance, you should see our beginner’s manual on how to install a WordPress plugin.

Upon activation, head in excess of to the Loco Translate » Plugins page from the WordPress admin sidebar.

Here, you will see a record of plugins that are currently put in on your website. Just click on the plugin you want to translate.

Choose plugin to translate

This will take you to a new display, the place you will see a checklist of languages readily available for the plugin, alongside with the translation progress standing for every single language.

If the language you want to translate the plugin into is stated there, then merely click on the ‘Edit’ connection below it.

If not, then you have to have to simply click the ‘New language’ button at the prime.

Click New Language button

This will direct you to a new website page where by you can start out by picking a language.

From right here, you can pick the ‘WordPress language’ choice and then opt for your language from the dropdown menu beneath it.

This option will automatically start utilizing the language file if a person sets the WordPress admin area in this language.

Choose a translation language

If you really don’t want to use a WordPress language, then you can find the ‘Custom Language’ selection.

Future, you have to choose where you want to retailer the translation information. By default, Loco Translate will advocate saving the translation data files in its own folder.

On the other hand, you can effortlessly adjust that to help save the files in WordPress languages or the plugin’s personal languages folder.

As soon as you have accomplished that, just click on the ‘Start translating’ button to proceed.

Choose translation file location

This will acquire you to a new screen, where by you will see a text resource part along with a translation subject.

You can now start off by introducing a translation for the resource string and then pick out the next string to translate.

When you are accomplished, never forget about to click on the ‘Save’ button at the best to store your settings.

Translate strings

Technique 3: Translate a WordPress Plugin on Your Computer system

If you want to translate a WordPress plugin on your computer using gettext translation apps, then this process is for you.

Continue to keep in mind that you can also submit these translations to plugin authors so that they can consist of them in their plugins.

1st, you require to download the plugin you want to translate on your computer. Following, double-click on the plugin zip file to extract it.

After you have performed that, you have to have to open up the plugin’s folder and then find and click on the ‘languages’ folder.

Choose the languages folder in the plugin folder

You really should obtain a .pot file inside this folder. This is the translation template file that you will require to translate the plugin.

If the plugin doesn’t have a .pot file or a languages folder, then it is most possible not translation-prepared.

In that circumstance, you can speak to the plugin writer and ask if they have any strategies for their plugin translation. For far more information, be sure to see our information on how to ask for WordPress guidance and get it.

As soon as you have the .pot file, you are all set to translate the plugin into any language.

Locate plugin pot file

Upcoming, you have to have to down load and install the Poedit app on your laptop or computer, which is a totally free translation application for Mac and Windows.

Immediately after you have the application mounted, go forward and open it up. This will launch the Poedit residence display, exactly where you need to click on the ‘Create New’ choice.

Choose Create New option

You will now be directed to your computer’s file supervisor. From below, only discover and pick out the .pot file for the plugin that you want to translate.

At the time you have accomplished that, Poedit will ask you to select a language for translation from the dropdown menu.

Following that, simply click the ‘OK’ button to go on ahead.

Choose a translation language in Poedit

Poedit will now clearly show the translation interface, in which you will see the list of strings offered.

All you have to do is click on on a string to choose it and present a translation in the ‘Translation’ discipline.

Translate plugin with Poedit

Once you are carried out translating the plugin, go to File » Save from the menu bar at the prime and title your file after the language identify and place code.

For instance, if you are preserving a French translation for the plugin, then you really should help save the file as ‘fr_FR’ for French and France.

save file

Poedit will preserve your translation as .po and .mo data files.

Now, all you will need to do is spot these files in your plugin’s languages folder to start off making use of the translated plugin on your internet site.

We hope this post assisted you master how to translate a WordPress plugin conveniently. You may perhaps also want to see our beginner’s guide on how to translate your WooCommerce retail store and our best picks for the most effective WordPress translation plugins.

If you appreciated this short article, then you should subscribe to our YouTube Channel for WordPress movie tutorials. You can also discover us on Twitter and Facebook.