Are you in search of a technique 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 enables customers from completely different nations to make use of the plugin of their native languages.
On this article, we are going to present you how one can simply translate a WordPress plugin into your language.
Why Translate WordPress Plugins?
By default, WordPress is offered in lots of languages and can be utilized to simply create a multilingual web site utilizing a plugin.
Equally, many of the high WordPress plugins are additionally translation-ready. All it’s a must to do is ask the plugin creator should you will help by contributing translations in different languages.
By translating the plugin, you’ll be able to enhance its attain and create a bigger person base. This could result in extra installs, suggestions, and publicity for the plugin.
It may additionally enable you to set up your self within the WordPress group and offer you new networking alternatives with different builders, translators, and companies within the trade.
You may even add the interpretation to your portfolio and reveal your abilities and contributions to the WordPress group.
That being stated, let’s check out how one can simply translate WordPress plugins in your language. We’ll cowl just a few completely different strategies on this publish, and you need to use the short hyperlinks under to leap to the tactic you need to use:
Methodology 1: Translate a WordPress Plugin Into Your Language for Everybody
If you wish to translate a WordPress plugin in a approach that helps different folks use the plugin of their languages, then this methodology is for you.
WordPress.org at present hosts a web-based translation instrument that enables anybody to contribute translations for plugins inside the WordPress repository.
First, you will want to go to a plugin’s web page on the WordPress.org web site. As soon as you might be there, simply change to the ‘Improvement’ tab on the high.
Right here, you will note a hyperlink asking you to assist translate the plugin into your language.
You may merely click on on it to begin contributing to the plugin translation.
Nevertheless, if the hyperlink isn’t accessible, then you’ll be able to go to the Translating WordPress web site.
As soon as there, you will note a listing of languages on the display. From right here, discover your language and easily click on the ‘Contribute Translation’ button below it.
This can take you to a brand new display, the place it is advisable change to the ‘Plugins’ tab.
After that, seek for the plugin you need to translate utilizing the search discipline after which click on the ‘Translate Undertaking’ button below it.
This can 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’ll be able to select these sub-projects from the checklist as an alternative.
Lastly, you can be taken to a brand new web page the place you will note the unique strings in a single column and the translations in one other.
Take into account that you will want to be logged in to your WordPress.org account to contribute translations.
From right here, simply click on on the ‘Particulars’ hyperlink in the appropriate column to open up the string you need to translate.
Upon getting accomplished that, a textual content discipline will open the place you’ll be able to add a translation for the unique string.
As soon as you might be accomplished, 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 need to translate a WordPress plugin in your personal web site, then this methodology is for you.
First, you will want to put in and activate the Loco Translate plugin. For detailed directions, please see our newbie’s information on how one can 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 note a listing of plugins which can be at present put in in your web site. Simply click on on the plugin you need to translate.
This can take you to a brand new display, the place you will note a listing of languages accessible for the plugin, together with the interpretation progress standing for every language.
If the language you need to translate the plugin into is listed there, then merely click on on the ‘Edit’ hyperlink below it.
If not, then it is advisable click on the ‘New language’ button on the high.
This can direct you to a brand new web page the place you can begin by deciding on a language.
From right here, you’ll be able to decide the ‘WordPress language’ choice after which select your language from the dropdown menu below it.
This feature will mechanically begin utilizing the language file if a person units the WordPress admin space on this language.
If you happen to don’t need to use a WordPress language, then you’ll be able to choose the ‘Customized Language’ choice.
Subsequent, it’s a must to select the place you need to retailer the interpretation recordsdata. By default, Loco Translate will suggest saving the interpretation recordsdata in its personal folder.
Nevertheless, you’ll be able to simply change that to avoid wasting the recordsdata in WordPress languages or the plugin’s personal languages folder.
Upon getting accomplished that, simply click on the ‘Begin translating’ button to proceed.
This can take you to a brand new display, the place you will note a textual content supply part together with a translation discipline.
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 accomplished, don’t overlook to click on the ‘Save’ button on the high to retailer your settings.
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 methodology is for you.
Take into account that you can even submit these translations to plugin authors in order that they will embody them of their plugins.
First, it is advisable obtain the plugin you need to translate in your laptop. Subsequent, double-click the plugin zip file to extract it.
Upon getting accomplished that, it is advisable open the plugin’s folder after which discover and click on on the ‘languages’ folder.
You need to discover a .pot file inside this folder. That is the interpretation template file that you will want to translate the plugin.
If the plugin doesn’t have a .pot file or a languages folder, then it’s almost certainly not translation-ready.
In that case, you’ll be able to contact the plugin creator and ask if they’ve any plans for his or her plugin translation. For extra particulars, please see our information on how one can ask for WordPress assist and get it.
Upon getting the .pot file, you might be able to translate the plugin into any language.
Subsequent, it is advisable obtain and set up the Poedit app in your laptop, which is a free translation app for Mac and Home windows.
After you may have the app put in, go forward and open it up. This can launch the Poedit residence display, the place you could click on the ‘Create New’ choice.
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 need to translate.
Upon getting accomplished 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.
Poedit will now present the interpretation interface, the place you will note the checklist of strings accessible.
All it’s a must to do is click on on a string to pick out it and supply a translation within the ‘Translation’ discipline.
As soon as you might be accomplished translating the plugin, go to File » Save from the menu bar on the high 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’s best to save the file as ‘fr_FR’ for French and France.
Poedit will save your translation as .po and .mo recordsdata.
Now, all it is advisable 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 may additionally need to see our newbie’s information on how one can translate your WooCommerce retailer and our high picks for the greatest WordPress translation plugins.
If you happen to preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can too discover us on Twitter and Fb.
The publish Find out how to Translate a WordPress Plugin in Your Language first appeared on WPBeginner.
Subscribe to MarketingSolution.
Receive web development discounts & web design tutorials.
Now! Lets GROW Together!