WordPress themes can be translated into another language by using a theme language template file and generating the proper translation files. This guide explains the basic process for creating .po and .mo files using Poedit.
Install Poedit
Download and install Poedit software on your computer. Poedit is used to open the theme language template and create translated language files.
Open the Theme .POT File
Find and open the theme .pot file from the theme language folder.
Create a New Translation
In Poedit, create a new translation from the source file and select the language you want to use for your WordPress website.
Translate the Strings
Translate each available theme string into your selected language. Save your progress as you work through the translation file.
Save .PO and .MO Files
When you save the translation in Poedit, it creates the required .po and .mo files. These files should use the correct language naming convention.
Upload Translation Files
Upload the generated translation files to the WordPress languages themes folder.
Change Site Language
Go to Settings → General → Site Language in WordPress and choose the language you created translation files for.
.po and .mo files before updating a theme. This helps prevent translation work from being lost.
Translation File Summary
The .pot file is the source translation template included with the theme. The .po file stores the translated text. The .mo file is the compiled version WordPress uses to display the translated theme strings.
Where to Get Help
For setup questions, translation issues, or theme support, use the EWP Theme support page or review the other documentation guides.