Do you want to translate your WordPress plugin in your language? Our WordPress plugins are mostly translated automatically but If any feature or section is not translated then you can translate it as per your requirement. You can also change the default text in same language with this method. here are methods showed to translate the plugin.
Why You Should Translate WordPress Plugins?
You may need your Website to be translatable to target more audience from across the world. You can have more user audience and reach with such functionality. You can do so by creating a multilingual site.
InnovativeWP’s WordPress plugins are also translation ready. You can help our team by contributing translations in other languages. This will help thousands of other WordPress users as well.
There are some methods which you can use in order to translate your plugin without any errors.
Method:1 Translating Plugin From File Manager
You can also translate a WordPress plugin on your computer using gettext translation apps. This is convenient, and you can also submit your translations to plugin authors, so they can include it in their plugins.
First you need to download the plugin you want to translate on your computer. Next, you need to double click the plugin zip file to extract it.
After you have extracted the file, open the plugin’s folder and locate the languages folder. Inside it, you will find a .pot file. This is the translation template file that you will need to translate the plugin.
If the plugin doesn’t have a .pot file or a languages folder, then it is most likely not translation ready. In that case, you can contact the plugin author, and ask if they have any plans to make their plugin translation ready.
Once you have the .pot file, you are ready to translate the plugin in any other languages you want.
First, you need to download and install the Poedit app on your computer. Poedit is a free translation app for Mac and Windows.
After you have the app installed, go ahead and open the app. You will see a wizard asking you to select an option. If you are using the pro version of the app, then you can select translate a WordPress plugin or theme. Otherwise, you need to select ‘Create new translation’ option.
You will be asked to select the plugin’s POT file. Once you select the file, Poedit will ask you to select the language of the translation.
Simply type the language name or select from the drop down menu and click on the OK button.
Poedit will now show the translation interface. You will see the list of strings available. All you have to do is click on a string to select it and provide a translation.
Once you have completed the translation, you are ready to save and export it. You need to go to File » Save and name your file after the language name and country code e.g. fr_FR for French and France, en_GB for English and Great Britain.
Poedit will save your translation in .po and .mo files. You need to place these files in your plugin’s languages folder to start using them right away.
Method 2 : Translate a WordPress Plugin For Your Own Website
This method allows you to translate a WordPress plugin for your own use. You will be translating the plugin inside your WordPress admin area, and your translations will immediately take effect on your website.
First thing you need to do is install and activate the Loco Translate plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit the Loco Translate » Plugins page to start translating your plugins.
You will see a list of all plugins currently installed on your website. You need to click on the plugin that you want to translate.
On the next screen, you will see a list of languages available for the plugin along with the translation progress status for each language.
If the language you want to translate in is listed there, then you need to click on it. Otherwise, you can click on the ‘New language’ button at the top.
On the new language page, first you need to choose your language. You have two options available. The first option is WordPress language. This option will automatically start using this language file if a user sets the WordPress admin area to be in this language. The second option is to use a custom language.
Next, you need to choose where you want to store the translation files. By default, Loco Translate will recommend saving the translation file in its own folder. You can change that to save translation files in WordPress languages or plugin’s own languages folder.
Once you have configured your settings, click on the start translating button to continue.
Translating a plugin is really simple. You will see the source text and below it you will see the translation field.
Simply enter your translation for the source string and then select the next string to translate.
Don’t forget to click on the save button to store your progress.
Method 3 : Helping Translate a WordPress Plugin in Your Language
This method is easier and highly recommended because it not only helps you use the plugin in your language, but it also helps other users automatically use the plugin in their language.
WordPress.org currently hosts a web based translation tool that allows anyone to contribute translations for WordPress plugins hosted on WordPress.org.
When you visit a plugin page, you will see a notification asking for your help in translating the plugin in your language.
If you do not see this notice, then you can also search the Translating WordPress website for the plugin.
You will be asked to select your language, and then you can start contributing.
On the translation screen, you will see a simple user interface with source text and text area to provide translation for specific words.