Adding languages to WordPress plugins with Poedit

by 360 BrightMedia | How-to

Your plugins supports language files but the plugin is not available in your language?
We’ll help you to create a language file for the plugin!

Get the plugin

Just download the plugin which you want to translate and extract it. In our example its c:\myplugin.

Download Poedit

To translate the plugin, you can use Poedit. You can get it on www.poedit.net. After downloading you have to install the plugins.

Using Poedit

After you have installed the plugin the best way is to open an existing language file in annother language. Open Poedit and click on “File/Open…”. Choose a language file from the plugin in c:\myplugin. It’s not in it? Just check in subdirectories.

Adding languages to Wordpress plugins with Poedit

After you have opened the file, the whole list with the translation in the opened language will appear. Now you have to save the language file for your language. Click on “File/Save as…” and save it in the same directory you opened the language file . You only have to take care on the file name. As you see, in SeoPress or the german language file is named seopress-de_DE.po.

Example: If you want to translate it in the hungarian language the file have to seem like this: seopress-hu_HU.po.  With which filename your language needs, you can see here: WordPress in your language on wordpress.org.

Updating the catalog file

Now you have to set up  the language file settings. Click on “Catalog/Settings…” and there will appear the settings box for the language file. First you have to add the path of the plugin files. In our case its c:\myplugin.

Adding languages to Wordpress plugins with Poedit

After setting up the path, you have to add the keywords. For WordPress we need the Keywords __ (double underscore) and _e (underscore and e). Just click on OK.

Adding languages to Wordpress plugins with Poedit

Now you can update your language file with the plugin source code by clicking “Catalog/Update from sources” and Poedit will update the translation strings and you are ready to begin your translations.

Just click on the strings on the line you want to translate and save the settings. If you’re uploading the plugin again and wordpress is in the language you have translated, your translation will work.

Adding languages to Wordpress plugins with Poedit

That’s it! Have fun!

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

More from the Magazine

How to Optimize WooCommerce Product Pages for Better Ranking?

After launching on September 27, 2011, WooCommerce product has 5 Million plus active installations now. The number of users is increasing daily. The reasons for the huge popularity of this platform are: Price: Totally free to use. If needed you can add paid...

4 Ways To Make Your WordPress Site Mobile-Friendly

Having a mobile-friendly WordPress site will help your website be Search Engine Optimised, which is a great deal when it comes to promotion and website success. Poor SEO won’t be your only concern if your site isn’t properly built- losing customers because of the poor...

How to Optimize Content for Featured Snippets?

Over the past years, Google has been changing its policies in the way it displays results to its users. If you want to drive more traffic to your site and want users to click on your content, showing up as a featured snippet in Google search will help. Google has been...

Keep your WordPress Website Safe and Secure – Here’s How

Source Website security and safety are of utmost importance. Even though you would have taken all the necessary precautions, it is vulnerable, and security threats are significant. Google tackles these threats with a heavy hand and ends up blocking the sites...

How to Recover your Website’s SEO from a Hacked WordPress Site

WordPress, the most popular content management system is an ideal place for most of the businesses out there. However, this doesn’t mean that it is unhackable. As WordPress is so popular, hackers take their time and effort to hack WordPress websites and their SEO. If...

Top 10 Amazing Web Designing Tips To Ensure Maximum Conversion

Among various aspects of web development, web designing is undoubtedly the most crucial part. A well-researched fascinating design can lead a project to stunning success while a lack of considerations can prove a nightmare for the investing firm. Whether you are an...

Meet BuddyForms BuddyPress Post in Groups

Among the add-ons that you definitely need to have available on your website, you need to know BuddyForms BuddyPress Post in Groups, its functionalities and benefits will allow you to better develop your online business. It's great for creating BuddyPress groups for...

Must have Features for WordPress WebSite

WordPress is the most popular and preferred platform to launch business websites. According to the WordPress official site,  “WordPress website now account for over 1/3rd of the top 10 million sites. Our market share has been growing steadily over the last few...

How to Make Sure Your WordPress Site is Mobile-Friendly?

With the evolution of technology, the digital marketing plan also has evolved.  For some years, an immeasurable growth of mobile phone usage is being seen. Mobile phones are in use for many reasons. And the most prevalent and common is visiting the website for...

Ultimate Member Benefits

If you need to create an exclusive community for a specific objective, you can take advantage of the benefits of Ultimate Member, a plugin that will provide benefits to scale your business. It is ideal for platforms where user registration is required to access...
Share This