Gccoe

Translate a WordPress plugin in your language

Find out how to Translate a WordPress Plugin in Your Language


Are you in search of a approach to translate a WordPress plugin into your language?

By translating a WordPress plugin into one other language, you’ll make it accessible to a broader viewers. This permits customers from totally different nations to make use of the plugin of their native languages.

On this article, we’ll present you easy methods to simply translate a WordPress plugin into your language.

Why Translate WordPress Plugins?

By default, WordPress is obtainable in lots of languages and can be utilized to simply create a multilingual web site utilizing a plugin.

Equally, many of the prime WordPress plugins are additionally translation-ready. All it’s a must to do is ask the plugin writer for those who will help by contributing translations in different languages.

By translating the plugin, you possibly can improve its attain and create a bigger consumer base. This will result in extra installs, suggestions, and publicity for the plugin.

It might additionally make it easier to set up your self within the WordPress neighborhood and offer you new networking alternatives with different builders, translators, and companies within the trade.

You’ll be able to even add the interpretation to your portfolio and exhibit your expertise and contributions to the WordPress neighborhood.

That being mentioned, let’s check out easy methods to simply translate WordPress plugins in your language. We are going to cowl a number of totally different strategies on this publish, and you should utilize the fast hyperlinks beneath to leap to the tactic you wish to use:

Methodology 1: Translate a WordPress Plugin Into Your Language for Everybody

If you wish to translate a WordPress plugin in a method that helps different folks use the plugin of their languages, then this technique is for you.

WordPress.org at present hosts a web-based translation device that enables anybody to contribute translations for plugins inside the WordPress repository.

First, you have to to go to a plugin’s web page on the WordPress.org web site. As soon as you might be there, simply swap to the ‘Improvement’ tab on the prime.

Right here, you will notice a hyperlink asking you to assist translate the plugin into your language.

You’ll be able to merely click on on it to begin contributing to the plugin translation.

Translate a WordPress plugin

Nonetheless, if the hyperlink isn’t obtainable, then you possibly can go to the Translating WordPress web site.

As soon as there, you will notice an inventory of languages on the display. From right here, discover your language and easily click on the ‘Contribute Translation’ button underneath it.

Choose a language for translation

This may take you to a brand new display, the place that you must swap to the ‘Plugins’ tab.

After that, seek for the plugin you wish to translate utilizing the search subject after which click on the ‘Translate Venture’ button underneath it.

Click Translate Project button

This may direct you to the plugin translation web page, the place you could choose the ‘Steady (newest launch)’ sub-project from the left column.

If you wish to translate the plugin’s improvement or readme recordsdata, then you possibly can select these sub-projects from the checklist as an alternative.

Choose stable latest release option

Lastly, you’ll be taken to a brand new web page the place you will notice the unique strings in a single column and the translations in one other.

Remember that you have to to be logged in to your WordPress.org account to contribute translations.

From right here, simply click on on the ‘Particulars’ hyperlink in the suitable column to open up the string you wish to translate.

Translate plugin

After you have carried out that, a textual content subject will open the place you possibly can add a translation for the unique string.

As soon as you might be carried out, merely click on the ‘Save’ button to submit your translations.

Methodology 2: Translate a WordPress Plugin for Your Personal Web site

If you happen to solely wish to translate a WordPress plugin to your personal web site, then this technique is for you.

First, you have to to put in and activate the Loco Translate plugin. For detailed directions, please see our newbie’s information on easy methods to set up a WordPress plugin.

Upon activation, head over to the Loco Translate » Plugins web page from the WordPress admin sidebar.

Right here, you will notice an inventory of plugins which are at present put in in your web site. Simply click on on the plugin you wish to translate.

Choose plugin to translate

This may take you to a brand new display, the place you will notice an inventory of languages obtainable for the plugin, together with the interpretation progress standing for every language.

If the language you wish to translate the plugin into is listed there, then merely click on on the ‘Edit’ hyperlink underneath it.

If not, then that you must click on the ‘New language’ button on the prime.

Click New Language button

This may direct you to a brand new web page the place you can begin by deciding on a language.

From right here, you possibly can choose the ‘WordPress language’ possibility after which select your language from the dropdown menu underneath it.

This feature will mechanically begin utilizing the language file if a consumer units the WordPress admin space on this language.

Choose a translation language

If you happen to don’t wish to use a WordPress language, then you possibly can choose the ‘Customized Language’ possibility.

Subsequent, it’s a must to select the place you wish to retailer the interpretation recordsdata. By default, Loco Translate will advocate saving the interpretation recordsdata in its personal folder.

Nonetheless, you possibly can simply change that to save lots of the recordsdata in WordPress languages or the plugin’s personal languages folder.

After you have carried out that, simply click on the ‘Begin translating’ button to proceed.

Choose translation file location

This may take you to a brand new display, the place you will notice a textual content supply part together with a translation subject.

Now you can begin by including a translation for the supply string after which choose the subsequent string to translate.

As soon as you might be carried out, don’t overlook to click on the ‘Save’ button on the prime to retailer your settings.

Translate strings

Methodology 3: Translate a WordPress Plugin on Your Pc

If you wish to translate a WordPress plugin in your laptop utilizing gettext translation apps, then this technique is for you.

Remember that you may also submit these translations to plugin authors in order that they will embrace them of their plugins.

First, that you must obtain the plugin you wish to translate in your laptop. Subsequent, double-click the plugin zip file to extract it.

After you have carried out that, that you must open the plugin’s folder after which discover and click on on the ‘languages’ folder.

Choose the languages folder in the plugin folder

It is best to discover a .pot file inside this folder. That is the interpretation template file that you’ll want to translate the plugin.

If the plugin doesn’t have a .pot file or a languages folder, then it’s most certainly not translation-ready.

In that case, you possibly can contact the plugin writer and ask if they’ve any plans for his or her plugin translation. For extra particulars, please see our information on easy methods to ask for WordPress assist and get it.

After you have the .pot file, you might be able to translate the plugin into any language.

Locate plugin pot file

Subsequent, that you must obtain and set up the Poedit app in your laptop, which is a free translation app for Mac and Home windows.

After you’ve the app put in, go forward and open it up. This may launch the Poedit dwelling display, the place you could click on the ‘Create New’ possibility.

Choose Create New option

You’ll now be directed to your laptop’s file supervisor. From right here, merely discover and choose the .pot file for the plugin that you just wish to translate.

After you have carried out that, Poedit will ask you to decide on a language for translation from the dropdown menu.

After that, click on the ‘OK’ button to proceed ahead.

Choose a translation language in Poedit

Poedit will now present the interpretation interface, the place you will notice the checklist of strings obtainable.

All it’s a must to do is click on on a string to pick it and supply a translation within the ‘Translation’ subject.

Translate plugin with Poedit

As soon as you might be carried out translating the plugin, go to File » Save from the menu bar on the prime and title your file after the language title and nation code.

For instance, if you’re saving a French translation for the plugin, then it is best to save the file as ‘fr_FR’ for French and France.

save file

Poedit will save your translation as .po and .mo recordsdata.

Now, all that you must do is place these recordsdata in your plugin’s languages folder to begin utilizing the translated plugin in your web site.

We hope this text helped you learn to translate a WordPress plugin simply. You might also wish to see our newbie’s information on easy methods to translate your WooCommerce retailer and our prime picks for the perfect WordPress translation plugins.

If you happen to favored this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can too discover us on Twitter and Fb.

댓글 달기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다