WordPress is among the most versatile platforms Which has Revolutionized the notion of internet construction altogether. The thousands of plugins and themes available in the WordPress marketplace has immensely contributed to making things simpler and simpler.
However, the only English language. Due to the vast popularity of WordPress, and its own Widespread use by webmasters, bloggers, entrepreneurs, and individual Professionals alike, it is not improbable to expect people to want to Access it into other significant languages as well.
To help bridge the gap, it is possible to contribute by helping interpret plugins (if you’re multilingual), whether it’s for your own use or for others to gain from. In this post, we’ll discuss more about why you should contribute to plugin translation.
How To Translate a Plugin That You Use On Your Site
You might be using Different WordPress plugins in your Site to Enhance your functionality and solutions. You will see that most of these plugins can be found in English which is regarded as the universally accepted language.
However, not everyone speaks or Knows English. You might be one of these. That, however, will not block you from using this plugin. You can easily get your plugin in your own language. There are hundreds of people that donate their plugin or theme postings to the WordPress community in order that others may utilize it for their advantage.
You can be one of these too. To Get Started Leading to translations you’ll have to first register for an account on wordpress.org. Now go to the webpage of the plugin that you want to interpret.
You might find a line that states”The plugin can be Available in X language. Help improve its interpretation”. By clicking on This line you’ll see all the languages that WordPress supports. You Will also see the advancement of dictionary beside each language.
If you click on those percentages you will see the list of strings that have either been accepted for translations or are awaiting approval.
You can contribute a translation for those strings without a translation available. For that just click on one of those strings, make your own contributions using the basic editor. Once done your translations will be checked by the WordPress Polyglot Team. When the team will approve your translations, you will see the translation strings increase. So everytime someone makes a translation, these strings will keep increasing.
You may not want to be a regular contributor, but there might be a specific plugin that you want to translate into a different language. For that, you will first have to install a plugin that will help you in the localization process. This is the Loco Translate plugin which is a free product available in the WordPress directory.
About Loco Translate
Loco Translate is an amazing plugin that lets you translate your themes and plugins to any other language you want. With more than 600,000 installations, Loco Translate has been considered to be one of the most popular translation plugins in the market.
This plugin simplifies the process of translating your plugins and themes and lets you do so without writing a single line of code. Once the plugin is installed on your WordPress site, it becomes easier for you to create and update language files directly into your WordPress theme or plugin.
It also allows you to use the built-in WordPress locale codes, extract translate-able strings from your source code, protect your language directory for saving custom translations and much more.
This plugin is compatible with the latest versions of WordPress and works beautifully with tons of other plugins that you might have installed on your site. The PO file editor also supports various shortcuts to make your translation process faster. Here are some of the shortcuts that it supports –
- Done and Next: Ctrl ↵
- Next string: Ctrl ↓
- Previous string: Ctrl ↑
- Next untranslated: Shift Ctrl ↓
These are just a few. There are many other shortcuts that you can use with this plugin.
Let us now look at how this plugin works.
Translating Your Plugins With Loco Translate Plugin
Once Loco Translate is successfully installed and activated on your site, you can start localizing your plugins directly from your dashboard. This can be either a specific plugin or the entire set of plugins that you are using on your site. To begin the process, start by going to your dashboard and then to Loco Translate>Plugins page.
The list of activated plugins on your site will be reflected on your screen. Now you can choose the plugin that you want to translate. Suppose we want to translate the WP Forms Lite plugin that is currently active on the site. For that, we will have to click on the plugin name which will show us the following page.
You will see various languages on your screen along with the translation process stats, file info, last modified date along with other information. WP Forms Lite currently allows you to translate it into three different languages. Russian, French, and German.
If your preferred language is one of the languages on the list, then it becomes even more simple for you to localize your site. Suppose you want it to be translated to the German language, just click on German and you are done. Your site will be automatically translated into German.
Selecting a New Language
If your language is not one of those listed on the plugin, then you can click on the New Language option at the top just below the plugin name.
You will now be redirected to the following page.
On this page, you are supposed to choose the language in which you want your plugin to be translated. For that, you will get two options. One is WordPress language. If you set this language to the WordPress admin area, then the site will automatically start using this language.
The second option is a custom language. Here we will choose a new language with the first option. In the next step, you will have to select the location where these translation files are to be stored. Generally, the Loco Translate plugin recommends you to save all of these files in its own folder. But if you want you can change the location.
When you are done with the settings, click on the ‘start translating’ button for the process to begin.
Loco Translate comes with a built-in editor. With the help of this editor, Loco Translate will reflect the list of strings that it will compile for the plugin that is to be translated.
You will see the source text and below that the translation field will also be reflected you.
Now you can enter the translations to the source string and select the Next string to start translating. To the right-hand side, you will see a small comment box popping up. This box can be used to save all your little notes that come up while you are translating your plugin.
It can also be used by any other user who is working with you on the translation. The plugin also lets you check your translation progress. It will show you the number of strings that were translated and the ones that are remaining.
Managing Your Translations
It’s easy to manage your translations with Loco Translate. You will see various buttons and labels on the top of your editor that lets you manage your work.
You can also trace the progress of your translations in terms of your advancing percentage and the number of strings that have been translated or are yet to be translated.
Below that you will find a few more options like Save, Sync, Revert and Fuzzy. I am sure you know what these buttons will do for you. The last one called the Fuzzy button lets you save you mark your strings if you are not very sure of it. You can then work on it for as many numbers of times as you want before you finally save it.
You can even leave the fuzzy lines to be worked upon later and exclude them from being included in the translation files. These can also be translated by someone else in the future.
You can also search for a specific string and edit them if you want. Just type the line in the search box and press enter to locate it. These lines can then be translated easily.
You can also download the PO, MO or POT files of your translations. The download icons appear towards the right end of this row.
Activating Your Translations
Once your translations are complete its time for you to activate them on your site. You won’t find any specific buttons to activate these translations. You will instead have to switch the language of your WordPress site. For that, you will have to go to – Settings > General. On this tab find the “Site Language” option. Now switch the language to the one you translated the plugin to. You can save your changes for the results.
Once that is done you can open the plugin’s settings to see the translation in action.
Although it might be a tiny time-consuming to possess it in a language that isn’t very popular with WordPress users, it’s still an excellent approach to get your plugins in a language that you can best understand. By contributing your translations strings you also help many others use the language for themselves too. It also makes it easier for different contributors to operate on it to get good.
As the translation system improves, you will find more strings onto your plugin which we expect will only enhance your experience translating topics and plugin. We hope this manual was useful to you. Let us know if you have any queries. We would love to hear from you.