×
  • Themes
  • Support
  • Blog
  • Log In
  • Sign Up

NiceThemesNiceThemes

  • Support
  • Themes
  • Log In
  • Sign Up
Menu

Support Articles

Articles and Documentation for your NiceThemes products.

Knowledge Base / Theme Customization / How to translate themes and plugins

How to translate themes and plugins

There are several ways to translate themes and plugins to your language. Here we prefer to use the program Poedit, which you can get here for free.

First, you need to download and install Poedit. Then look within the theme files for a folder named lang, or languages if you want to translate a plugin. There you’ll find a translatable POT file, which you can identify by its .pot extension. Once you found the file, you’ll need to follow these steps:

  1. Open the file in Poedit. On the left column, you’ll see the original texts (in English) from the POT file. On the right column you can add your own translation.
  2. Go to File → Save as… to save your translations. This process will create two new files: A PO file with the .po extension, and a MO file with the .mo extension. It’s really important to notice that the new files must be named with the locale for your language1. For example, if you are translating to Spanish, your new files need to be named es_ES.po and es_ES.mo. For plugins, additionally, you need to put the plugin slug before the locale2.
  3. If you need to modify your translation, just open the generated PO file with Poedit. When you are finished editing, go to File → Save as… again to regenerate the MO file and update your translation.

Finally, you need to be running your WordPress installation in your language. You can see where to find all available translations for WordPress here.

Need Help?

If this information isn’t enough to help you translate your theme or plugin, please let us know it through our support forums.

However, keep in mind that this article only offers specific information about themes and plugins that are developed and maintained by NiceThemes. If you need help to translate a theme or plugin that hasn’t been created by us, please contact the original developer instead.

Further reading

If you want more details about how internationalizations and translations work in WordPress, you can take a look at the following resources:

  • Translator’s Handbook
  • Internationalizing And Localizing Your WordPress Theme
  • Translating Your Theme

Notes

  1. If you don’t know what your locale is, you can look for it here.
  2. For example, if you’re translating Likes, your new files should be named nice-likes-es_ES.po and nice-likes-es_ES.mo.

Theme Customization

Related Articles

  • How to use Firebug to customize your theme
  • How to customize a theme
  • How to create and use Child Themes
XML Demo Content
If you're looking for the XML demo contents, you can get them here

Categories

  • Installation & Updates
  • Theme Basics
  • Theme Configuration
  • Theme Customization
  • Support
  • FAQs

Documentation

In the documentation you'll find all you need to get started. Select the product from the list to see the documentation.

NiceThemes

  • About
  • Blog
  • Contact

Support

  • Support Center
  • Knowledge Base
  • Support Forums

Products

  • Themes

Join Us On

Curated with lots of    by your friends at NiceThemes™

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server