How To Translate The Theme
To translate the theme do the following:
- Download the Poedit program to start translating the theme. While there are other programs that you can use, for the sake of clarity and simplicity for this tutorial we will use Poedit. It’s free and you can download it from here. Then install it. That’s easy too. Just click next. Then … next. Then finish. And you’re done.
- Translate the .pot or .mo file that is included in the themes "languages" folder and upload to your theme folder inside of the languages folder. When you save the files, you must name them according to your language code. i.e. for English is en_EN.
- Tell WordPress what language to use. if you haven’t done so already, you’ll need to make sure your wp-config.php file matches your language files. For example, if you’re using a French translation, you’ll need to add the fr_FR.po and fr_FR.mo files to your theme folder then set your language in wp-config.php, like this: define
- Save your wp-config.php file, upload it to your WordPress installation, and you are ready to go. By the way, your wp-config.php file is located in the main directory where all your core WordPress files are located.
More information regarding translating themes can be found here: https://codex.wordpress.org/Translating_WordPress