Blog


How to translate a WordPress theme (.po file) using Poedit

Want to translate a PixelPress theme or any other WordPress theme to your language?
Below is a brief, step-by-step overview of how to do just that using Poedit.
Poedit makes it easier for translators to translate a theme’s text into the language of choice.

Step 1

Download and install Poedit on your computer.

Step 2

Download a copy of your theme’s .po file to your computer using your FTP program of choice. This file is usually located inside the “languages” folder. (yoursite.com/wp-content/themes/yourtheme/languages)

Step 3

Open the .po file using the Poedit program.

Step 4

Click on a text row in Poedit and translate each line as required.

Step 5

Once you’ve translated all the text you’d like translated, click on the “save” button to overwrite the previous .po file on your computer and generate a .mo file which is the one that WordPress will use to translate your theme.

Step 6

Upload the newly translated .po and .mo files back to your theme, overwriting the previous versions.

Not clear? Want some further explanation? Stefan Wallin has produced a great video how-to.

Hope that helps!
Bonne chance! Hodně štěstí! Held og lykke! Succes Veel geluk! Edu! Onnea!

Comments ( 2 )

  • Dave says:

    Hi Branden! Useful steps to consider when translating a WordPress theme, bu my suggestion is to check out https://poeditor.com/, which might be a better alternative to Poedit. It is a collaborative translation management platform created to simplify and improve the localization workflow for both translators and developers.

Leave A Comment

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